summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2011-04-23 * ext/date/date_parse.c: removed some unused macros. use strchr()tadf
instead of index(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-23 * ext/date/date_core.c: replacement of implementation oftadf
_parse. [experimental] * ext/date/date_parse.c: new. * ext/date/lib/date/format.rb: removed ruby version of _parse. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-21* ext/psych/parser.c (parse): strings from psych have proper tainttenderlove
markings. * test/psych/test_tainted.rb: test for string taint git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-20 * ext/date/date_strptime.c (date__strptime_internal): do nottadf
overwrite local variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-16added date_tmx.htadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-16 * ext/date/date_{core,strftime}.c: use struct tmx instead of vtm.tadf
* ext/date/date_tmx.h: new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-16typotadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-16 * ext/date/date_strftime.c (date_strftime_wo_timespec): changedtadf
the way of validation of locale modifiers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-16 * ext/date/date_core.c: replacement of implementation oftadf
_strptime. [experimental] * ext/date/date_strptime.c: new. * ext/date/lib/date/format.rb: removed ruby version of _strptime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14fix style.nobu
* ext/stringio/stringio.c (strio_each, strio_readlines): fix style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-12* ext/readline/extconf.rb: --disable-libedit to disablekouji
libedit. fixes #4550 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-10 * ext/openssl/ossl.c: Fix typo, document version constants.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09* ext/stringio/stringio.c (strio_each, strio_readlines):sorah
Use `NUM2LONG` instead of `FIX2INT`. Fixes [ruby-dev:43395]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09* ext/stringio/stringio.c (strio_each):sorah
Fix exception message and don't raise immediately if block is not given. Fixes [ruby-dev:43394]. * test/stringio/test_stringio.rb (test_each_line_limit_0): Fix test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-09* ext/stringio/stringio.c (strio_each, strio_readlines):sorah
limit must not be zero. Fixes [ruby-dev:43392]. * test/stringio/test_stringio.rb: Add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-08* ext/stringio/stringio.c (strio_getline): check whether str isnaruse
a string when str and lim are given. https://twitter.com/watson1978/status/56225052152168449 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-06* ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize):naruse
pop pushed error after each try of reading. fixes #4550 * ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto. * ext/openssl/ossl_pkey_ec.c (ossl_ec_initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-06* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize):naruse
pop pushed error after each try of reading. fixes #4550 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-04* ext/io/nonblock/nonblock.c (io_nonblock_set): Avoid F_SETFL ifkosaki
we're not changing the O_NONBLOCK bit. F_SETFL is an expensive operation since it needs to affect all processes with the same file object. The patch is written by Eric Wong. [ruby-core:35556] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-03 * ext/syslog/syslog.c: improve rdoc.nagachika
a patch by Jonas Pfenniger. [ruby-core:35592] fixes #4545 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-03* ext/zlib/zlib.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-01* ext/syslog/syslog.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-31* ext/strscan/strscan.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-30* ext/date: use timev.h in toplevel.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-29* ext/stringio/stringio.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28* ext/socket/raddrinfo.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28* ext/date/date_core.c (date_s_today): use int for year.naruse
* ext/date/date_core.c (datetime_s_now): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28* ext/extmk.rb: set MFLAGS from MAKEFLAGS when using nmake.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-27* ext/socket/ipsocket.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-27 * ext/date/date_core.c: removed unused variables.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-26* ext/socket/getaddrinfo.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-25* ext/date/lib/date/format.rb (DateTime#strftime): removed becausenaruse
date_core defines it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-25time(3)'s argument and return value is time_t.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-25 * ext/date/date_core.c: should not force cast with macros.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-25* ext/sdbm/init.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-25* ext/sdbm/_sdbm.c (sdbm_open): use size_t.naruse
* ext/syck/bytecode.c: ditto. * ext/sdbm/_sdbm.c (delpair): use ptrdiff_t. * ext/sdbm/init.c: use RSTRING_LENINT. * ext/dl/handle.c: suppress warning: shorten-64-to-32. * ext/strscan/strscan.c: ditto. * ext/syck/emitter.c: ditto. * ext/syck/implicit.c: ditto. * ext/syck/syck.c: ditto. * ext/syck/token.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-25* ext/nkf/nkf-utf8/nkf.c: import nkf 7f18e30.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-24* ext/sdbm/_sdbm.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-24* ext/openssl/ossl.c: surpress warning: shorten-64-to-32.naruse
* ext/openssl/ossl.h: ditto. * ext/openssl/ossl_asn1.c: ditto. * ext/openssl/ossl_bio.c: ditto. * ext/openssl/ossl_bn.c: ditto. * ext/openssl/ossl_cipher.c: ditto. * ext/openssl/ossl_hmac.c: ditto. * ext/openssl/ossl_ns_spki.c: ditto. * ext/openssl/ossl_ocsp.c: ditto. * ext/openssl/ossl_pkcs5.c: ditto. * ext/openssl/ossl_pkey.c: ditto. * ext/openssl/ossl_pkey_dh.c: ditto. * ext/openssl/ossl_pkey_dsa.c: ditto. * ext/openssl/ossl_pkey_ec.c: ditto. * ext/openssl/ossl_pkey_rsa.c: ditto. * ext/openssl/ossl_rand.c: ditto. * ext/openssl/ossl_ssl.c: ditto. * ext/openssl/ossl_x509ext.c: ditto. * ext/openssl/ossl_x509name.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-24* ext/openssl/ossl_rand.c (ossl_rand_egd_bytes): use NUM2INT becausenaruse
the result is used with functions whose argument is int. * ext/openssl/ossl_ssl.c (ossl_sslctx_setup): ditto. * ext/openssl/ossl_x509store.c (ossl_x509store_set_purpose): ditto. * ext/openssl/ossl_x509store.c (ossl_x509store_set_trust): ditto. * ext/openssl/ossl_x509store.c (ossl_x509stctx_set_purpose): ditto. * ext/openssl/ossl_x509store.c (ossl_x509stctx_set_trust): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-24* ext/openssl/ossl_x509name.c: id_aref's type is ID.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-24* ext/io/console/console.c (console_set_winsize):naruse
surpress warning: shorten-64-to-32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-24* ext/openssl/ossl_ocsp.c (ossl_ocspreq_verify): flags is VALUE,naruse
so it should use NUM2INT. * ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-23* ext/readline/readline.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-22* ext/psych/parser.c: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-22* ext/openssl/ruby_missing.h: parenthesize macro arguments.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-22 * ext/openssl/lib/openssl/buffering.rb: removed circular require ofnahi
openssl.rb. * ext/openssl/lib/openssl/*: removed following comment for transition measures of avoiding circular require. No one claimed about this as far as I know. ## # Should we care what if somebody require this file directly? # require "openssl" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-21* ext/date/date_strftime.c (date_strftime_wo_timespec):naruse
surpress warning: shorten-64-to-32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-21* lib/test/unit/parallel.rb: remove unused variable.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-21* enc/utf_16le.c: surpress warning: shorten-64-to-32.naruse
* ext/dbm/dbm.c: ditto. * ext/gdbm/gdbm.c: ditto. * parse.y (Init_ripper): surpress warning: unused value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e