aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * eval.c (proc_save_safe_level): no need to restrict safe levelmatz2005-09-121-0/+5
| | | | | | | memoize in $SAFE>=3. [ruby-dev:27050] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dbm/test_dbm.rb: remove locking test, which may not bematz2005-09-121-1/+6
| | | | | | | supported on some platforms. [ruby-dev:27030] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (apply2files): stricter callback definition.nobu2005-09-121-0/+6
| | | | | | | * file.c (rb_path_check): constified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_pkcs7.rb (test_enveloped): skip this testgotoyuzo2005-09-121-0/+7
| | | | | | | | | to avoid a bug of PKCS7_enctypt() (only if ext/openssl is compiled with OpenSSL-0.9.7d or earlier versions). http://www.mail-archive.com/openssl-dev@openssl.org/msg17376.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.[hc] (rb_w32_argv_size, ...): reverted my latest changeocean2005-09-121-0/+5
| | | | | | | to avoid incompatible pointer warning. (mingw32) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c: avoid warning of const to non-const convertion.ocean2005-09-121-0/+7
| | | | | | | | | [ruby-dev:27041] * eval.c, io.c, ruby.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: moved to ANSI function style from K&R function style.ocean2005-09-121-0/+15
| | | | | | | | | | | | | | | | | (used protoize on windows, so still K&R remains on #ifdef part of other platforms. And `foo _((boo))' stuff is still there) [ruby-dev:26975] * bignum.c, class.c, compar.c, dir.c, dln.c, dmyext.c, enum.c, enumerator.c, error.c, eval.c, file.c, gc.c, hash.c, inits.c, io.c, main.c, marshal.c, math.c, numeric.c, object.c, pack.c, prec.c, process.c, random.c, range.c, re.c, regcomp.c, regenc.c, regerror.c, regexec.c, regparse.c, regparse.h, ruby.c, signal.c, sprintf.c, st.c, string.c, struct.c, time.c, util.h, variable.c, version.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (starttls): supported the STARTTLS command.shugo2005-09-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* set ERB#filename so that it is used when reporting syntax/runtime errors.seki2005-09-111-0/+5
| | | | | | | Tabs converted to spaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: protoize.matz2005-09-101-0/+9
| | | | | | | | * eval.c (splat_value): simpler and consistent array conversion for argument splat. [yarv-dev:599] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tiny ChangeLog fixocean2005-09-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_try), ext/iconv/extconf.rb: get rid of metanobu2005-09-091-1/+6
| | | | | | | | | characters in command line option. fixed: [ruby-talk:155369] * ext/iconv/iconv.c: protoized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_times): make empty strings to keep taintness,nobu2005-09-091-0/+5
| | | | | | | and a little improvement. [ruby-dev:26900] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * merged a patch from Takahiro Kambe <taca@back-street.net> tomatz2005-09-081-0/+5
| | | | | | | support DragonFly BSD. [ruby-dev:26984] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/strchr.c (strrchr): fixed a bug for detecting NUL in amatz2005-09-081-3/+16
| | | | | | | | | | | | string. [ruby-dev:26985] * string.c (rb_str_times): should taint empty strings as well. * object.c (Init_Object): make class_variable_{get,set} public. [ruby-dev:26965] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_engine.c (ossl_engine_s_by_id):gotoyuzo2005-09-071-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | OpenSSL::Engine.by_id calls given block before calling ENGINE_init (block parameter is the return value of this method itself). this functionality is useful to load dynamic shared engines. require "openssl" pkcs11 = OpenSSL::Engine.by_id("dynamic"){|e| e.ctrl_cmd("SO_PATH", "/usr/lib/opensc/engine_pkcs11.so") e.ctrl_cmd("LIST_ADD", "1") e.ctrl_cmd("LOAD") } pkcs11.ctrl_cmd("PIN", "secret") key = pkcs11.load_private_key * ext/openssl/ossl_engine.c (ossl_engine_ctrl_cmd): new method OpenSSL::Engine#ctrl_cmd. it wraps ENGINE_ctrl_cmd_string. * ext/openssl/ossl_engine.c (ossl_engine_get_cmds): new method OpenSSL::Engine#cmds. it returms engine command definitions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c (asn1str_to_str): new function.gotoyuzo2005-09-071-0/+13
| | | | | | | | | | | | | | * ext/openssl/ossl_pkcs7.c: new class OpenSSL::PKCS7::RecipientInfo. this class wraps PKCS7_RECIP_INFO struct. * ext/openssl/ossl_pkcs7.c: OpenSSL::PKCS7::Signer is renamed to OpenSSL::PKCS7::SignerInfo. ("Signer" remains as an alias of SignerInfo.) * test/openssl/test_pkcs7.rb: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb: abolish mod === tempfile to avoid a problemakr2005-09-071-0/+5
| | | | | | | [ruby-dev:26967]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_switch): convert all exceptions tonobu2005-09-071-0/+8
| | | | | | | | | | SystemExit. fixed: [ruby-core:05724] * eval.c (rb_thread_terminated): show backtrace before propagate exceptions to main thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.[hc] (rb_w32_utime): constified.ocean2005-09-071-0/+9
| | | | | | | | | | * win32/win32.h (rb_w32_stat): added prototype. * win32/win32.[hc] (rb_w32_argv_size,rb_w32_join_argv,rb_w32_aspawn): changed `char *const *' to `const char *const *'. (constify string) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (what_type?): guesstimate type.nobu2005-09-061-1/+6
| | | | | | | | * ext/etc/etc.c (setup_passwd), ext/etc/extconf.rb: pw_age might be char*. fixed: [ruby-core:05470] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not loadnobu2005-09-061-0/+13
| | | | | | | | | | | | | | | extension libraries. * bignum.c (bignew_1, bigadd): K&R style argument actually can't be defined as char. * missing/vsnprintf.c: ANSI compiler supports const keyword. * ext/digest/sha2/extconf.rb: reject platforms which has inttypes.h but no 64bit integer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt, mlhs_node, lhs, arg, method_call): aref_args might benobu2005-09-051-0/+7
| | | | | | | | | nothing. fixed: [ruby-dev:26952] * ext/ripper/eventids2.c: added new tokens. fixed: [ruby-dev:26952] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/observer.rb: a patch from nornagon <nornagon@gmail.com>matz2005-09-051-1/+18
| | | | | | | | | | | merged to allow arbitrary names for update methods. [ruby-core:05416] * eval.c (rb_f_fcall): new method to avoid inefficiency of obj.instance_eval{send(...)} tricks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/openssl/lib/openssl/buffering.rb (Buffering#do_write):gotoyuzo2005-09-041-0/+5
| | | | | | | should clear data from the buffer which already been output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_arg): Ripper should not do semantic check. [ruby-dev:26948]aamine2005-09-041-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#descend): Pathname.new("./a/b/c").descendakr2005-09-031-0/+6
| | | | | | | | didn't yield "." (Pathname#ascend): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib: do not use __send__ to access private methods. [ruby-dev:26935]nobu2005-09-021-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_arg): f_norm_arg is a VALUE in ripper, not an ID.nobu2005-09-021-4/+9
| | | | | | | fixed: [ruby-dev:26942] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): wrong condition for $SAFE restoration.matz2005-09-011-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: On Tcl8.5, MultiTkIp#invoke_hidden doesn'tnagai2005-09-011-0/+9
| | | | | | | | | | work (gives wrong order of arguments). * ext/tk/lib/multi-tk.rb: add MultiTkIp#invoke_hidden_on_namespace to support '-namespace' option of 'interp invokehidden' command on Tcl8.5. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (OPTFLAGS): default global optimization tousa2005-08-311-0/+5
| | | | | | | disabled for all VC++ versions. fixed: [ruby-dev:26897] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_detach, proc_setmaxgroups): missing argument typeocean2005-08-311-1/+6
| | | | | | | declaration. (I recomment ANSI-style function) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_scan): already String#scan behaves differentlynobu2005-08-301-0/+5
| | | | | | | regarding if block is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_count): new method. [ruby-dev:26895]matz2005-08-301-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c, dir.c, enum.c, hash.c, io.c, range.c, string.c, struct.c:nobu2005-08-301-0/+7
| | | | | | | | | let enumerable methods return Enumerator. [ruby-dev:26924] * intern.h (RETURN_ENUMERATOR): utility macro for enumerable methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/debug.rb: no need to restart at exit.nahi2005-08-301-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (xsystem, xpopen): no longer expand by Config.nobu2005-08-301-1/+8
| | | | | | | | | | * lib/mkmf.rb (link_command, cc_command, cpp_command): expand variables at once, and quote hdrdir. fixed: [ruby-core:05680] * lib/mkmf.rb (libpathflag): quote paths. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_rescue2): intialization miss. fixed: [ruby-dev:26917]nobu2005-08-301-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/md5/md5ossl.h, ext/digest/rmd160/rmd160ossl.h,gotoyuzo2005-08-301-1/+8
| | | | | | | | ext/digest/sha1/sha1ossl.h: include <stddef.h> to avoid error in compilation with OpenSSL-0.9.8. [ruby-list:41068] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/init.rb: bug fix. [ruby-dev: 26920]keiju2005-08-301-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/ssl.rb (SSLConfig#accept) sorry, self[:verbose] is inner class's ↵ocean2005-08-301-5/+0
| | | | | | | | | method. so reverted... git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/ssl.rb (SSLConfig#accept) fixed "Undefined method verbose"ocean2005-08-301-0/+5
| | | | | | | [ruby-Bugs:1701] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_send): do not call private methods if the receivermatz2005-08-301-1/+5
| | | | | | | is specified. [ruby-talk:153672] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/usage.rb: improper exceptions. [ruby-dev:26870]ocean2005-08-291-0/+7
| | | | | | | | * lib/rdoc/usage.rb: support the case when non-ruby code exists before shebang. (this is needed when ri.bat is executed on windows) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/init.rb: make IRB -I option that is same befavior for ruby.keiju2005-08-291-0/+8
| | | | | | | | | | [ruby-dev:26872] * lib/irb/locale.rb: support to print help message when OS locale is ja_JP.utf-8. [ruby-dev:26872] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#descend): new method.akr2005-08-281-0/+5
| | | | | | | (Pathname#ascend): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: require 'date/format' instead of 'parsedate'.akr2005-08-281-0/+7
| | | | | | | | | (Time.parse): extract fractional seconds using Date._parse. (Time.strptime): extract fractional seconds using Date._strptime. [ruby-talk:153859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c ({curses,window}_clrtoeol): added. suggestedocean2005-08-271-0/+10
| | | | | | | | | | | | by Reyn Vlietstra. * ext/curses/curses.c: chtype in curses is not `char', rahter `long'. [ruby-Bugs:2298] * ext/curses/view.rb: String =~ String is deprecated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: supress warnings. (win32)ocean2005-08-251-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e