summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
...
* * Added samples.nahi2003-07-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/sample: Add samples.nahi2003-07-254-0/+1217
| | | | | | | | | | | | - cert2text.rb: Dump certificate file as text. - crlstore.rb: CRL store implementation. Fetch CRL via HTTP when http-access2 is installed. - certstore.rb: Certificate store implementation. - cert_store_view.rb: Certificate store viewer with FXRuby. Uses c_rehash.rb, crlstore.rb and certstore.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: add check for BN_rand_range() andgotoyuzo2003-07-253-2/+21
| | | | | | | | | | | | | | | | | | BN_pseudo_rand_range(). * ext/openssl/ossl_bn.c (ossl_bn_s_rand_range): should raise NotImplementedError if BN_rand_range() wan not defined. * ext/openssl/ossl_bn.c (ossl_bn_s_pseudo_rand_range): should raise NotImplementedError if BN_pseudo_rand_range() wan not defined. * ext/openssl/ossl_pkcs7.c (ossl_pkcs7_s_encrypt): avoid compiler warning for OpenSSL-0.9.6. * ext/openssl/ossl_pkcs7.c (ossl_pkcs7si_initialize): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (tcp_s_gethostbyname): was usingmatz2003-07-252-3/+2
| | | | | | | | | uninitialized size_t value. [ruby-talk:76946] * Minor cleanups. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Spec for div changed.shigek2003-07-252-6/+5
| | | | | | | add,sub,mult,div now can specify exact digits number. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ver method added.shigek2003-07-254-266/+224
| | | | | | | | Spec for div changed. add,sub,mult,div now can specify exact digits number. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gcc -Wall clean-up.matz2003-07-242-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: add check for libsocket and libnsl.gotoyuzo2003-07-241-19/+18
| | | | | | | * ext/openssl/extconf.rb: use pkg-config to build CFLAGS and LDFLAGS. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_emitter_flush): accepts countwhy2003-07-244-117/+237
| | | | | | | | | | | | | of bytes to flush. anchor offsets now functional. * ext/syck/syck.h (syck_emitter_flush): ditto. * ext/syck/rubyext.c: ditto. * ext/syck/token.c: URI escaping now supported. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_type): check if a type is defined.nobu2003-07-241-1/+1
| | | | | | | | | | * lib/mkmf.rb (check_sizeof): check size of a type. * ext/dbm/extconf.rb: check if type DBM is defined. [ruby-talk:76693] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: add check for win32 OpenSSL libraries.gotoyuzo2003-07-242-12/+8
| | | | | | | | | * ext/openssl/extconf.rb: add check for __VA_AEGS__. * ext/openssl/ossl.h: avoid non C99 compiler errors. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (thgroup_add): no warning for terminated threads.matz2003-07-241-2/+23
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/wait/extconf.rb: removed unnecessary backward compatibility stuff.nobu2003-07-241-20/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: revert use of dir_config.eban2003-07-241-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Win32API/lib/win32/resolv.rb: added.usa2003-07-242-0/+367
| | | | | | | * lib/resolv.rb: support Win32 platforms. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ssl.h: undef X509_NAME and PKCS7_SIGNER_INFO togotoyuzo2003-07-232-3/+5
| | | | | | | | | | | | | | avoid name confliction on mswin32. * ext/openssl/ssl.c (ossl_protect_obj2bio): avoid VC++ warnings in function prototype. * ext/openssl/ssl.c (ossl_protect_membio2str): ditto. * ext/openssl/ssl.c (ossl_protect_x509_ary2sk): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Cut check for OpenSSL versionmichal2003-07-231-14/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c (ip_init): need at least one statement after label.usa2003-07-231-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl: imported.gotoyuzo2003-07-2362-0/+12557
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* process.c : unify indentationnagai2003-07-2315-187/+341
| | | | | | | | | | | | configure.in : add --enable-setreuid option tcltklib.c : TclTkIp.new accepts 'ip-name' and 'options' ( e.g. TclTkIp.new('FOO', '-geometry 500x200 -use 0x2200009') ) tk.rb : support arguments of TclTkIp.new ( see TkCore::IP_NAME, TkCore::IP_OPTS ) tk*.rb : preparations for multi-Tk interpreter support git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/wait: imported.nobu2003-07-234-0/+161
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* COMP_MODE_ROUNDUP -> COMP_MODE_ROUNDshigek2003-07-233-8/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (check_iconv): check if Iconv instance.nobu2003-07-231-34/+59
| | | | | | | | | | | | | * ext/iconv/iconv.c (iconv_convert): stringify argument. * ext/iconv/iconv.c (iconv_failure_initialize): limit inspect message. [ruby-dev:20785] * ext/iconv/iconv.c (rb_str_derive): share with original string if possible. [ruby-dev:20785] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Explanation for prec, and some more for max. number of sig. digits.shigek2003-07-222-55/+78
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tmpdir.rb: new library to get temporary directory path,matz2003-07-211-0/+1
| | | | | | | | | | | using GetTempPath on Win32 environment. * lib/tempfile.rb: now uses tmpdir.rb. * lib/cgi/session.rb, ib/drb/unix.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* patches from T.Saito etc.shigek2003-07-213-17/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (gzfile_read_header): gz->z.input may be nil after ↵katsu2003-07-201-1/+1
| | | | | | finishing reading a gzip header. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/charset_alias.rb, ext/iconv/extconf.rb: make wrappernobu2003-07-184-5/+130
| | | | | | | | | | | | | | | script which maps charset names. [ruby-dev:20625] * ext/iconv/iconv.c (charset_map): charset name map. * ext/iconv/iconv.c (iconv_dfree): no exception while finalization. * ext/iconv/iconv.c (iconv_s_conv): new method Iconv.conv. [ruby-dev:20588] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Win32API/lib/win32/registry.rb (Win32::Registry::Error):usa2003-07-181-14/+17
| | | | | | | inherit StandardError instead of SystemCallError. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* As discussed in ruby-dev ML:shigek2003-07-185-0/+325
| | | | | | | | lib directory moved. util.rb created instead of bigdecimal-rational.rb git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* More pathes from Tadasi Saito.shigek2003-07-184-243/+0
| | | | | | | | | | | As discussed in ruby-dev ML: E,PI, etc are disabled. BigDecimal op String disabled. to_f changed. lib directory moved. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* More pathes from Tadasi Saito.shigek2003-07-185-174/+263
| | | | | | | | | | As discussed in ruby-dev ML: E,PI, etc are disabled. BigDecimal op String disabled. to_f changed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (rm_f): use FileUtils.nobu2003-07-181-2/+7
| | | | | | | | | | | | | | | | | * lib/mkmf.rb (modified?): return mtime of the target if it exists and newer than times. * lib/mkmf.rb (install_files): add a current directory file even if it does not exist yet. * lib/mkmf.rb (configuration): do not add $LDFLAGS to DLDFLAGS. * ext/extmk.rb (extmake): check whether Makefile is newer than depend and MANIFEST. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tk.rb :nagai2003-07-171-0/+4
| | | | | | | * recover and fix typo : Tk.chooseDirectory (Tk8.4 feature) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_init): set ruby_running to true aftermatz2003-07-171-9/+5
| | | | | | | initialization. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_disable_super, rb_enable_super): deprecate.matz2003-07-162-5/+0
| | | | | | | | | * eval.c (thgroup_s_alloc): re-implement group struct. * eval.c (thgroup_add): add check for enclose and frozen status. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_emitter_start_obj): cast to avoid warning.eban2003-07-151-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_mark_emitter): forgot to rb_gc_mark thewhy2003-07-141-1/+5
| | | | | | | outgoing IO object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Missed MANIFEST change and addition of ext/syck/emitter.c.why2003-07-112-0/+318
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c: new emitter code.why2003-07-113-29/+285
| | | | | | | | | | | | | | | | | * ext/syck/rubyext.c: Emitter class. * lib/yaml.rb: Load Syck emitter, if available. * lib/yaml/stream.rb: ditto. * lib/yaml/baseemitter.rb: underlying class for all emitters. * lib/yaml/rubytypes.rb: use BaseEmitter abstraction. * lib/yaml/emitter.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tk.rb :nagai2003-07-111-2/+2
| | | | | | | | * not create a Tcl/Tk interpreter if already defined TkCore::INTERP * bugfix on TkWindow#configure git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/extconf.rb (gdbm_compat, qdbm): add check for gdbm_compateban2003-07-071-1/+1
| | | | | | | and qdbm. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***nobu2003-07-044-121/+137
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/extconf.rb: updated for tinfo check.matz2003-07-041-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_shared_replace): clear flags before copy.matz2003-07-021-0/+1
| | | | | | | | | | * string.c (rb_str_replace): ditto. * eval.c (rb_yield_0): override visibility mode for module_eval etc. (ruby-bugs-ja PR#505) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tk.rb :nagai2003-07-012-10/+24
| | | | | | | | * TkWindow include TkWinfo * treat unknown widget classes as subclasses of TkWindow git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Precision for '**' enhanced (bug).shigek2003-07-011-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bug in '/' fixed by Tadashi Saito.shigek2003-06-291-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Changed according to Tadashi Saito's advice.shigek2003-06-271-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 1.From Tadashi Saito's adviceshigek2003-06-274-614/+740
| | | | | | | | | | to_parts changed to split,assign removed, ** added,bugs in infinite? & nozero? fixed. 2.Rounding functionalities added mode now accepts rounding mode. round accepts second argument for Bankers' rounding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e