summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/iconv/extconf.rb: check stricter. [ruby-talk:104501]nobu2004-06-251-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_sockaddr): Socket#gethostbyname()matz2004-06-241-1/+18
| | | | | | | | should give us packed address, not struct sockaddr. [ruby-core:03053] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Work around OSX strangneness with recvfrom on connection-oriented socketsdave2004-06-231-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: 0xff should not shift 24 bits on 64 bitmatz2004-06-231-1/+1
| | | | | | | platforms. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_hresult2msg): remove trailingocean2004-06-221-3/+6
| | | | | | | CR and LF. (doesn't depend on CR+LF) [ruby-dev:23694] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (OLE_FREE): should not call CoFreeUnuse-suke2004-06-221-9/+8
| | | | | | | | | | | | dLibraries(). * ext/win32ole/win32ole.c (ole_event_free): ditto. * ext/win32ole/win32ole.c (ole_hresult2msg): truncate error message before CR. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize): should creategotoyuzo2004-06-213-9/+37
| | | | | | | | | | | | | | | | | | | | | | empty pkey object if no argument is passed. [ruby-talk:103328] * ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto. * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize): ditto. * ext/openssl/ossl_pkey_dh.c: add new methods: OpenSSL::PKey::DH#p, OpenSSL::PKey::DH#p=, OpenSSL::PKey::DH#g, OpenSSL::PKey::DH#g=, OpenSSL::PKey::DH#pub_key, OpenSSL::PKey::DH#pub_key=, OpenSSL::PKey::DH#priv_key and OpenSSL::PKey::DH#priv_key=. * ext/openssl/ossl_pkey_dsa.c: add new methods: OpenSSL::PKey::DSA#p, OpenSSL::PKey::DSA#p=, OpenSSL::PKey::DSA#q, OpenSSL::PKey::DSA#q=, OpenSSL::PKey::DSA#g, OpenSSL::PKey::DSA#g=, OpenSSL::PKey::DSA#pub_key, OpenSSL::PKey::DSA#pub_key=, OpenSSL::PKey::DSA#priv_key and OpenSSL::PKey::DSA#priv_key=. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: bug fix (TkWindow#grab)nagai2004-06-151-1/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/remote-tk.rb: bug fixnagai2004-06-141-20/+47
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/extconf.rb: [EXPERIMENTAL] MacOS X (darwin) supportnagai2004-06-1217-177/+705
| | | | | | | | | | | | | | * ext/tcltklib/tcltklib.c: fix thread trouble on callback proc, and eliminate warning about instance variable access * ext/tk/lib/tk/menubar.rb: improve supported menu_spec * ext/tk/lib/tk/menuspec.rb: [add] menu_spec support library * ext/tk/lib/tk/root.rb: add menu_spec support * ext/tk/lib/tk/text.rb: bug fix * ext/tk/lib/tk/toplevel.rb: add menu_spec support * ext/tk/sample/menubar?.rb: [add] sample of menu_spec usage git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: remove #indexes, #indices.matz2004-06-113-144/+44
| | | | | | | | | | | | | | | | | * hash.c: ditto. * ext/dbm/dbm.c: remove #indexes, #indices, "values_at" warning from #select. * ext/gdbm/gdbm.c: ditto. * ext/sdbm/init.c: ditto. * ext/dbm/dbm.c (Init_dbm): set VERSION constant as "unknown" when DB_VERSION_STRING is not available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sdbm/init.c (fsdbm_store): sdbm should use StringValue().matz2004-06-101-4/+2
| | | | | | | [ruby-talk:103062] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_ssl_read): take optional second argumentgotoyuzo2004-05-263-8/+19
| | | | | | | | | | | | | | | | to specify a string to be written. * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#read): take optional second argument to specify a string to be written. * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#gets): refine regexp for end-of-line. * ext/opnessl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder#listen): fix typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.c (syck_new_parser): clear parser on init.why2004-05-252-1/+2
| | | | | | | | | | | | thanks, ts. [ruby-core:02931] * ext/syck/token.c (sycklex_yaml_utf8): buffer underflow. thanks, ts. [ruby-core:02929] * lib/yaml/baseemitter.rb (indent_text): simpler flow block code. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c (ossl_i2d_ASN1_TYPE, ossl_ASN1_TYPE_free):gotoyuzo2004-05-241-8/+32
| | | | | | | workaround for the versions earlier than OpenSSL-0.9.7. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/extconf.rb: add --enable-tcl-thread configure option andnagai2004-05-242-33/+144
| | | | | | | --with-tclConfig-file=<path of tclConfig.sh> configure option git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merged Nakada-san's patch [ruby-core:02916].ttate2004-05-236-49/+70
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/remote-ip_sample2.rb: modifynagai2004-05-221-10/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add test/openssl/test_x509store.rb.nobu2004-05-221-0/+5
| | | | | | | * ext/tk/MANIFEST: add recent files. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add a new sample 'ext/tk/sample/remote-ikp_sample2.rb'nagai2004-05-222-1/+54
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add Tk.appsend_deny and improve Tk.rb_appsendnagai2004-05-2117-43/+557
| | | | | | | | | * ext/tk/lib/tk.rb, ext/tk/lib/tk/*.rb : replace obj.send() -> obj.__send__() * ext/tk/lib/remote-tk.rb: add a new library which create an object to control a Tk interpreter on the other process git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: check SCM_RIGHTS macro addition toakr2004-05-201-9/+21
| | | | | | | | the msg_control field to test existence of file descriptor passing by msg_control. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (make_hostent_internal): remove debug print.matz2004-05-201-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_eq): alway check if operands are NaN.matz2004-05-203-0/+7
| | | | | | | | | | [ruby-list:39685] * lib/cgi/session.rb: use LOCK_SH to read, and a few other improvements. [ruby-core:02328] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: change permition of TkObject#tk_send from private to publicnagai2004-05-191-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (setup_domain_and_type): honor duck typing.matz2004-05-171-7/+18
| | | | | | | | | [ruby-dev:23522] * ext/socket/socket.c (sock_s_getnameinfo): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add a new sample scriptnagai2004-05-163-0/+406
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument toakr2004-05-161-11/+29
| | | | | | | | | specify an open flag. (Init_dbm): define open flags: DBM::READER, DBM::WRITER, DBM::WRCREAT and DBM::NEWDB. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/depend: commit miss.eban2004-05-151-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/depend: add ruby's headers.eban2004-05-151-10/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/MANIFEST, ext/syck/depend: new file.nobu2004-05-152-0/+11
| | | | | | | | | | * lib/yaml/rubytypes.rb: range of exponential floats. [ruby-core:02824] * test/yaml/test_yaml.rb: tests for strings start with colon and some round trip. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: removed fallback to pure Ruby parser.why2004-05-156-194/+203
| | | | | | | | | | | | | | | | | | | | | | | | * lib/yaml/baseemitter.rb (node_text): rewriting folded scalars. * ext/syck/syck.h: reports style of scalars now, be they plain, block single-, or double-quoted. * ext/syck/syck.c: ditto. * ext/syck/gram.c: ditto. * ext/syck/node.c: ditto. * ext/syck/token.c: ditto. * ext/syck/rubyext.c (yaml_org_handler): symbols loaded only if scalar style is plain. * test/yaml/test_yaml.rb (test_perl_regexp): updated test to match new regexp serialization. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/canvas.rb: improve coords support for canvas items.nagai2004-05-143-116/+88
| | | | | | | | | | | | | Now, supports all of the followings. TkcLine.new(c, 0, 0, 100, 100, :fill=>'red') TkcLine.new(c, [0, 0, 100, 100], :fill=>'red') TkcLine.new(c, [0, 0], [100, 100], :fill=>'red') TkcLine.new(c, [[0, 0], [100, 100]], :fill=>'red') TkcLine.new(c, :coords=>[0, 0, 100, 100], :fill=>'red') TkcLine.new(c, :coords=>[[0, 0], [100, 100]], :fill=>'red') git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (yaml_org_handler): some empty strings werewhy2004-05-131-1/+1
| | | | | | | loaded as symbols. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509name.c: attribute value of DC (short name ofgotoyuzo2004-05-121-0/+1
| | | | | | | domainComponent) should be IA5String. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/composite.rb: improve configure methods. (based on the ↵nagai2004-05-122-18/+303
| | | | | | proposal of [ruby-talk:99671]) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix for 'incomplete bug fix' for 1.41.shigek2004-05-111-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_open): open should not ignore block when "to_open"matz2004-05-083-9/+3
| | | | | | | | | method is used. [ruby-dev:23478] * ext/dbm/dbm.c (fdbm_modify): typo fixed. [ruby-dev:23473] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32ole.c: add RDoc style comment.suke2004-05-081-61/+183
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (string_content): turn off NODE_NEWLINE flag to avoidmatz2004-05-074-19/+49
| | | | | | | | | | | | | | | | | | | | | | | unnecessary line trace for inlined expression. (ruby-bugs PR#1320) * numeric.c (flo_to_s): tweak output string based to preserve decimal point and to remove trailing zeros. [ruby-talk:97891] * string.c (rb_str_index_m): use unsigned comparison for T_FIXNUM search. [ruby-talk:97342] * hash.c (rb_hash_equal): returns true if two hashes have same set of key-value set. [ruby-talk:97559] * hash.c (rb_hash_eql): returns true if two hashes are equal and have same default values. * string.c (rb_str_equal): always returns true or false, never returns nil. [ruby-dev:23404] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use numerichost if cannot resolve hostnameseki2004-05-061-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tkutil.c (get_eval_string_core): bug fix. [ruby-dev:23466]nagai2004-05-061-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb (to_yaml): added instance variable handlingwhy2004-05-0610-236/+246
| | | | | | | | | | | | | | | for Ranges, Strings, Structs, Regexps. * lib/yaml/rubytypes.rb (to_yaml_fold): new method for setting a String's flow style. * lib/yaml.rb (YAML::object_maker): now uses Object.allocate. * ext/syck/gram.c: fixed transfer methods on structs, broke it last commit. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: get rid of side effect of Config.expand, patched bynobu2004-05-061-1/+1
| | | | | | | <tttt01@infoseek.jp> (ruby-bugs:PR#597) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * renewal Ruby/Tknagai2004-05-01246-10978/+27049
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb: passing Range tests.why2004-04-266-308/+406
| | | | | | | | | | | | | | | | | | | * ext/syck/syck.h: version 0.44. * ext/syck/gram.c: transfers no longer open an indentation. fixed transfers which precede blocks. * ext/syck/token.c: ditto. * ext/syck/syck.c: fixed segfault if an anchor has been released already. * ext/syck/node.c (syck_free_members): organized order of free'd nodes. * ext/syck/rubyext.c (syck_emitter_write_m): test for proper string with StringValue. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, ext/extmk.rb: make ext and .ext get removed by distclean.nobu2004-04-221-4/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: skip linking when libraries to be preloaded notnobu2004-04-151-1/+1
| | | | | | | compiled. [ruby-list:39561] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/gdbm/gdbm.c (Init_gdbm): define GDBM::READER, GDBM::WRITER,akr2004-04-151-16/+24
| | | | | | | | GDBM::WRCREAT and GDBM::NEWDB. (fgdbm_initialize): use specified read/write flag. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return a value.gotoyuzo2004-04-121-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e