Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 14, 2009
Commits on Jun 6, 2008
  1. @knu

    Merge changes from ruby_1_8 to reduce warnings and potentially improve

    knu authored
    security.
    
    * mkconfig.rb: hide build path from rbconfig.rb.
    
    * util.c (ruby_strtod, dtoa): initialize more variables for error
      handling.
    
    * io.c (rscheck), marshal.c (w_nbyte, w_bytes, w_unique),
      (path2class, path2module): constified.
    
    * pack.c (pack_unpack), process.c (rb_syswait): suppress warnings.
    
    * suppress warnings on cygwin, mingw and mswin.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @knu

    * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_initialize):

    knu authored
      Add a null check for ssl; submitted by akira yamada
      in [ruby-dev:34950].
    
    * ext/openssl/ossl_ssl.c (Init_ossl_ssl): Define OP_NO_TICKET if
      SSL_OP_NO_TICKET is present; submitted by akira yamada
      in [ruby-dev:34944].
    
    * test/openssl/test_ssl.rb (OpenSSL#test_server_session): Add a
      workaround for the case where OpenSSL is configured with
      --enable-tlsext; submitted by akira yamada in [ruby-dev:34944].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 14, 2007
  1. @nobu

    * configure.in (RUBY_CHECK_VARTYPE): check if a variable is defined

    nobu authored
      and its type.
    
    * configure.in (timezone, altzone): check for recent cygwin.
    
    * missing/strftime.c (strftime): fix for timezone.  [ruby-dev:32536]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@14223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 13, 2007
  1. @akr
Commits on Jul 22, 2007
  1. @nobu

    * file.c (rb_file_s_rename): deleted code to get rid of a bug of

    nobu authored
      old Cygwin.
    
    * file.c (rb_file_truncate): added prototype of GetLastError()
      on cygwin.  [ruby-dev:31239]
    
    * intern.h (is_ruby_native_thread): prototype.
    
    * missing/strftime.c (strftime): fix printf format and actual
      arguments.
    
    * ext/Win32API/Win32API.c (Win32API_initialize): ditto.
    
    * ext/tk/tcltklib.c (ip_finalize): ditto.
    
    * ext/dl/ptr.c (rb_dlptr_inspect): ditto.  [ruby-dev:31268]
    
    * ext/dl/sym.c (rb_dlsym_inspect): ditto.
    
    * ext/socket/getnameinfo.c: include stdio.h always.
    
    * ext/win32ole/win32ole.c (ole_hresult2msg, folevariable_name,
      folevariable_ole_type, folevariable_ole_type_detail,
      folevariable_value, folemethod_visible): missing return value.
    
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@12835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 28, 2007
  1. @eban

    * configure.in (ac_cv_func_fcntl): fcntl support for MinGW.

    eban authored
    * missing/flock.c: workaround for MinGW.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 13, 2005
  1. @nobu

    * io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c:

    nobu authored
      get rid of warnings.  fixed: [ruby-core:06247]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Sep 8, 2005
  1. * merged a patch from Takahiro Kambe <taca@back-street.net> to

    matz authored
      support DragonFly BSD.  [ruby-dev:26984]
    
    * object.c (rb_mod_cvar_get, rb_mod_cvar_set): document fix from
      sheepman <sheepman@sheepman.sakura.ne.jp>; a bug in visibility
      description.  [ruby-dev:26965]
    
    * sprintf.c (rb_f_sprintf): warn "too many argument" on verbose
      mode (-v/-w); backported from 1.9.  [ruby-dev:26963]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Sep 6, 2005
  1. @nobu

    * Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not load

    nobu authored
      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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 27, 2005
  1. * gc.c (id2ref): must not assign pointers to long int. use

    matz authored
      LONG_LONG instead if SIZEOF_LONG < SIZEOF_VOIDP.
      [ruby-talk:149645]
    
    * ruby.h: use LONG_LONG to simplify the change.
      [ruby-talk:149645]
    
    * eval.c (rb_f_throw): replace all '0x%lx' by '%p'.
      [ruby-talk:149553]
    
    * missing/vsnprintf.c (BSD_vfprintf): '%p' need to handle 64bit
      size pointer.  [ruby-talk:149553]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 4, 2005
  1. * missing/erf.c: original erf.c by prof. Okumura is confirmed to

    matz authored
      be public domain.  reverted BSD implementation.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 1, 2005
  1. * missing/erf.c: need to include some headers for some platforms.

    matz authored
    * win32/win32.h (copysign, scalb): define for compatibility with
      other platforms. [ruby-dev:26430]
    
    * missing/crypt.c: modified to make it compilable on platforms
      other than BSD.  [ruby-dev:26430]
    
    * missing/erf.c: ditto.  code from <exp.c> merged.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * missing/crypt.c: replaced with 4.4BSD version.

    matz authored
    * missing/erf.c: ditto.
    
    * missing/vsnprintf.c: removed the third provision from the old
      BSD license.  [ruby-core:05177]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 12, 2005
  1. * signal.c (sigexit): call rb_thread_signal_exit() instead of

    matz authored
      rb_exit().  [ruby-dev:26347]
    
    * eval.c (rb_thread_signal_exit): a new function to exit on main
      thread.
    
    * eval.c (rb_thread_switch): exit status should be retrieved from
      ruby_errinfo.
    
    * eval.c (rb_f_exit): ensure exit(0) should call
      exit(EXIT_SUCCESS).
    
    * missing/mkdir.c: remove. [ruby-core:05177]
    
    * lib/delegate.rb (SimpleDelegator::__setobj__): need check for
      recursive delegation.  [ruby-core:04940]
    
    * misc/ruby-mode.el (ruby-expr-beg): fix looking point drift.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 21, 2004
  1. @nobu
Commits on Dec 21, 2003
  1. @eban

    * missing/isinf.c (isinf): typo fix.

    eban authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 20, 2003
  1. * eval.c (rb_with_disable_interrupt): prohibit thread context

    matz authored
      switch during proc execution.  [ruby-dev:21899]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 18, 2003
  1. @eban

    * missing/memmove.c (memmove): take void *, not char *.

    eban authored
    * missing.h (memmove): ditto.
    * missing.h (strchr, strrchr): return char *, not int.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 18, 2003
  1. @eban

    * missing/acosh.c (DBL_MANT_DIG): typo fix(ifdef -> ifndef).

    eban authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 5, 2003
  1. @unak

    * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub

    unak authored
      (MISSING): link with missing/erf.c.
    
    * missing.h (erf, erfc): fix prototype.
    
    * missing/erf.c: new. [ruby-list:37753]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 4, 2003
  1. @eban

    * missing/strftime.c: HP-UX support.

    eban authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @eban

    * configure.in: better HP-UX support.

    eban authored
    * missing/strftime.c: ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 15, 2002
  1. * configure.in, defines.h, dir.c, dir.h, dln.c, error.c,

    uema2 authored
          eval.c, file.c, hash.c, io.c, main.c, missing.c,
          process.c, ruby.c, rubysig.h, signal.c, st.c, util.c, util.h,
          bcc/Makefile.sub, win32/Makefile.sub, win32/win32.h,
          ext/Win32API/Win32API.c, ext/socket/getaddrinfo.c,
          ext/socket/getnameinfo.c, ext/socket/socket.c,
          ext/tcltklib/stubs.c
          : replace "NT" with "_WIN32", add DOSISH_DRIVE_LETTER
    * wince/exe.mak : delete \r at the end of lines.
    * wince/mswince-ruby17.def : delete rb_obj_become
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Sep 6, 2002
  1. * gc.c (ruby_xmalloc): remove MALLOC_LIMIT to avoid frequent

    matz authored
      garabage collection.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 14, 2002
  1. @eban

    * gc.c (is_pointer_to_heap): avoid GCC 3.1 warnings.

    eban authored
    * missing/strftime.c (timezone): it should take no argument on Cygwin.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 12, 2002
  1. @nobu

    /tmp/log

    nobu authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 22, 2002
  1. * the VMS support patch submitted by Akiyoshi, Masamichi

    matz authored
      <Masamichi.Akiyoshi@jp.compaq.com> is merged.
    
    * eval.c (exec_under): changing ruby_class is OK, but should not
      alter cbase.
    
    * eval.c (yield_under_i): ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 16, 2002
  1. @eban

    * missing/fileblocks.c: add for autoconf.

    eban authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 17, 2001
  1. @akr

    * time.c: new method `gmtoff', `gmt_offset' and `utc_offset'.

    akr authored
    (time_utc_offset): new function.
    (Init_Time): bind above methods to `time_utc_offset'.
    
    * time.c: 64bit time_t support.
    (time_s_at): use NUM2LONG instead of NUM2INT for tv_sec.
    (time_arg): initialize tm_isdst correctly.
    use long to initialize tm_year.
    (search_time_t): renamed from `make_time_t'.
    (make_time_t): call `timegm' and `mktime' instead of `search_time_t'
    if availabe.
    (time_to_i): use LONG2NUM instead of INT2NUM.
    (time_localtime): check localtime failure.
    (time_gmtime): check gmtime failure.
    (time_year): use LONG2NUM instead of INT2FIX.
    (time_to_a): use long for tm_year.
    (time_dump): check tm_year which is not representable with 17bit.
    (time_load): initialize tm_isdst.
    
    * configure.in: check existence of `mktime' and `timegm'.
    check existence of tm_gmtoff field of struct tm.
    fix negative time_t for 64bit time_t.
    
    * missing/strftime.c: fix overflow by tm_year + 1900.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 6, 2001
  1. forgot some checkins.

    matz authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 26, 2001
  1. * eval.c: remove TMP_PROTECT_END to prevent C_ALLOCA crash.

    matz authored
    * file.c (rb_file_flock): do not trap EINTR.
    
    * missing/flock.c (flock): returns the value from lockf(2)
      directly.
    
    * eval.c (ev_const_defined): should ignore toplevel cbase (Object).
    
    * eval.c (ev_const_get): ditto.
    
    * ext/md5/md5.h: replace by independent md5 implementation
      contributed by L. Peter Deutsch (thanks).
    
    * ext/md5/md5init.c: adopted to Deutsch's md5 implementation.
    
    * pack.c (pack_unpack): string from P/p should be tainted.
    
    * ext/curses/curses.c: curses on Mac OS X public beta does not
      have _maxx etc.
    
    * marshal.c (w_object): should truncate trailing zero short for
      bignums.
    
    * object.c (sym_intern): new method.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 13, 2001
  1. * io.c (argf_seek_m): wrong calling sequence of rb_io_seek().

    matz authored
    * parse.y (cond0): no special treatment of string literal in
      condition.
    
    * math.c: add acos, asin, atan, conh, sinh, tanh and hypot to Math.
    
    * configure.in: check hypot availablility.
    
    * missing/hypot.c: public domain rewrite of hypot.
    
    * parse.y (warn_unless_e_option): warning condition was wrong.
    
    * parse.y (warning_unless_e_option): ditto.
    
    * enum.c (enum_all): new method 'all?', which returns true if
      block returns true for all elements.
    
    * enum.c (enum_any): new method 'any?', which returns true if
      block retruns true for any of elements.
    
    * marshal.c (marshal_load): do not give warning unless explicitly
      set to verbose.
    
    * eval.c (rb_exit): give string value "exit" to SystemExit.
    
    * ruby.c (proc_options): -v should not print version if
      proc_options called via moreswitches().
    
    * parse.y (stmt): while/until modifier must work for empty body.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 6, 2001
  1. * parse.y (primary): rescue and ensure clauses should be allowed

    matz authored
      to appear in singleton method body.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 26, 2001
  1. * eval.c (proc_call): should not modify ruby_block->frame.iter

    matz authored
      based on ruby_frame->iter altered by PUSH_ITER().
    
    * eval.c (rb_thread_fd_close): should save current context before
      raising exception.
    
    * io.c (set_stdin): preserve original stdin.
    
    * io.c (set_outfile): preserve original stdout/stderr.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.