Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 18, 2008
  1. Akinori MUSHA

    Merge -r16241:16456 from ruby_1_8.

    knu authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7@16458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 11, 2008
  1. Nobuyoshi Nakada
Commits on Aug 29, 2007
  1. Urabe, Shyouhei

    * include/ruby/defines.h (flush_register_windows): call "ta 0x03"

    shyouhei authored
    	  even on Linux/Sparc.  [ruby-dev:31674]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@13303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 24, 2007
  1. Akinori MUSHA

    * defines.h: Pull the RUBY_MBCHAR_MAXSIZE definition from trunk,

    knu authored
      which is necessary for dir.c to compile on djgpp and emx.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 19, 2007
  1. Akinori MUSHA

    * configure.in, defines.h, eval.c (rb_feature_p, rb_provided,

    knu authored
      load_wait, search_required, rb_require_safe), ext/extmk.rb: Fix
      a bug where a statically linked extension cannot be autoloaded.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Sep 1, 2006
  1. akr

    * common.mk, configure.in, defines.h, eval.c, gc.c, main.c,

    akr authored
      numeric.c, ruby.h, ia64.s: backport IA64 HP-UX support.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 25, 2005
  1. Nobuyoshi Nakada

    * configure.in (RUBY_EXTERN): macro to export symbols in shared

    nobu authored
      library.  [ruby-core:05528]
    
    * defines.h, {bcc32,win32,wince}/Makefile.sub (RUBY_EXTERN): moved to
      configuration pass.
    
    * ext/extmk.rb (extmake): RUBY_EXTERN for static linked extensions.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 2, 2005
  1. akr

    refine #if condition introduced previously.

    akr authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. akr

    * defines.h (FLUSH_REGISTER_WINDOWS): defined for IA64.

    akr authored
     (flush_register_windows): declare flush_register_windows.
    
    * eval.c (flush_register_windows): new function.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 14, 2005
  1. Nobuyoshi Nakada

    * configure.in: Check for the availability of pid_t, gid_t and uid_t and

    nobu authored
      remove AC_TYPE_UID_T.  fixed: [ruby-core:04745]
    
    * defines.h: Remove pid_t typedef.
    
    * ruby.h: Define rb_pid_t, rb_gid_t and rb_uid_t in accordance with
     the available system types.
    
    * process.c: Change instances of pid_t and gid_t to their rb_*
     counterparts.
    
    * ext/pty/pty.c: Change pid_t to rb_pid_t.
    
    * vms/config.h: Define HAVE_{P,G,U}ID_T to 1.
    
    * win32/Makefile.sub: Remove #define for {g,u}id_t.
    
    * win32/win32.c: Change pid_t to rb_pid_t.
    
    * wince/Makefile.sub: Remove #define for {g,u}id_t.
    
    * wince/sys/types.h: Remove definitions of {p,g,u}id_t.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 9, 2004
  1. change path of vms.h

    akiyoshi authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 14, 2004
Commits on Jan 17, 2004
  1. eban
Commits on Jan 10, 2004
  1. * eval.c (eval): need to add message delimiter. [ruby-dev:22561]

    matz authored
    * defines.h (__NeXT__): Ensure that all standard S_IRUSR, S_IWGRP,
      S_IRWXO, etc. macros are defined since future code might require
      them (even though present code only requires a subset).
    
    * defines.h (__NeXT__): Bug fix: WORDS_BIGENDIAN was not being set
      correctly on Rhapsody when -arch compiler flag was used (via
      configure's --enable-fat-binary option).
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 22, 2003
  1. Nobuyoshi Nakada

    * configure.in (ac_cv_func_setitimer): moved from defines.h

    nobu authored
    * defines.h, rubysig.h, signal.c: removed macro handling which
      should be done in configure.
    
    * configure.in (intrinsics.h): check if present.
    
    * ruby.h: include intrinsics.h if available.
    
    * bignum.c, marshal.c: include ieeefp.h if available.
    
    * missing.h (isinf): define as a macro if finite() and isnan()
      are available.  [ruby-core:02032]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 3, 2003
  1. * configure.in (AC_PROG_YACC): AC_DEFINE(OLD_YACC) if Yacc is found

    matz authored
      instead of Bison or byacc.
    
    * parse.y: If OLD_YACC is defined, ensure that YYMAXDEPTH is at least
      10000 (Bison's default) since some old versions of Yacc define it as
      low as 150 by default, which is too low for Ruby to parse some files,
      such as date/format.rb.  Among other issues, the parse problem causes
      "make test" to fail.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 25, 2003
  1. unak

    * defines.h (ENV_IGNORECASE): should define when DOSISH without

    unak authored
      human68k.
    
    * hash.c (env_has_value, env_index): don't ignore case of value.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 22, 2003
  1. * gc.c (Init_stack): stack region is far smaller than usual if

    matz authored
      pthread is used.
    
    * marshal.c (w_extended): singleton methods should not be checked
      when dumping via marshal_dump() or _dump(). [ruby-talk:85909]
    
    * file.c (getcwdofdrv): avoid using getcwd() directly, use
      my_getcwd() instead.
    
    * merged NeXT, OpenStep, Rhapsody ports patch from Eric Sunshine
      <sunshine@sunshineco.com>.  [ruby-core:01596]
    
    * marshal.c (w_object): LINK check earlier than anything else,
      i.e. do not dump TYPE_IVAR for already dumped objects.
      (ruby-bugs PR#1220)
    
    * eval.c (rb_eval): call "inherited" only when a new class is
      generated; not on reopening.
    
    * eval.c (eval): prepend error position in evaluating string to
    
    * configure.in: revived NextStep, OpenStep, and Rhapsody ports which
      had become unbuildable; enhanced --enable-fat-binary option so that
      it accepts a list of desired architectures (rather than assuming a
      fixed list), or defaults to a platform-appropriate list if user does
      not provide an explicit list; made the default list of architectures
      for MAB (fat binary) more comprehensive; now uses -fno-common even
      when building the interpreter (in addition to using it for
      extensions), thus allowing the interpreter to be embedded into a
      plugin module of an external project (in addition to allowing
      embedding directly into an application); added checks for
      <netinet/in_systm.h> (needed by `socket' extension) and getcwd(); now
      ensures that -I/usr/local/include is employed when extensions'
      extconf.rb scripts invoke have_header() since extension checks on
      NextStep and OpenStep will fail without it if the desired resource
      resides in the /usr/local tree; fixed formatting of --help message.
    
    * Makefile.in: $(LIBRUBY_A) rule now deletes the archive before
      invoking $(AR) since `ar' on Apple/NeXT can not "update" MAB archives
      (see configure's --enable-fat-binary option); added rule for new
      missing/getcwd.c.
    
    * defines.h: fixed endian handling during MAB build (see configure's
      --enable-fat-binary option) to ensure that all portions of the
      project see the correct WORDS_BIGENDIAN value (some extension modules
      were getting the wrong endian setting); added missing constants
      GETPGRP_VOID, WNOHANG, WUNTRACED, X_OK, and type pid_t for NextStep
      and OpenStep; removed unnecessary and problematic HAVE_SYS_WAIT_H
      define in NeXT section.
    
    * dir.c: do not allow NAMLEN() macro to trust dirent::d_namlen on
      NextStep since, on some installations, this value always resolves
      uselessly to zero.
    
    * dln.c: added error reporting to NextStep extension loader since the
      previous behavior of failing silently was not useful; now ensures
      that NSLINKMODULE_OPTION_BINDNOW compatibility constant is defined
      for OpenStep and Rhapsody; no longer includes <mach-o/dyld.h> twice
      on Rhapsody since this header lacks multiple-include protection,
      which resulted in "redefinition" compilation errors.
    
    * main.c: also create hard reference to objc_msgSend() on NeXT
      platforms (in addition to Apple platforms).
    
    * lib/mkmf.rb: now exports XCFLAGS from configure script to extension
      makefiles so that extensions can be built MAB (see configure's
      --enable-fat-binary option); also utilize XCFLAGS in cc_command()
      (but not cpp_command() because MAB flags are incompatible with
      direct invocation of `cpp').
    
    * ext/curses/extconf.rb: now additionally checks for presence of these
      curses functions which are not present on NextStep or Openstep:
      bkgd(), bkgdset(), color(), curs(), getbkgd(), init(), scrl(), set(),
      setscrreg(), wattroff(), wattron(), wattrset(), wbkgd(), wbkgdset(),
      wscrl(), wsetscrreg()
    
    * ext/curses/curses.c: added appropriate #ifdef's for additional set of
      curses functions now checked by extconf.rb; fixed curses_bkgd() and
      window_bkgd() to correctly return boolean result rather than numeric
      result; fixed window_getbkgd() to correctly signal an error by
      returning nil rather than -1.
    
    * ext/etc/etc.c: setup_passwd() and setup_group() now check for null
      pointers before invoking rb_tainted_str_new2() upon fields extracted
      from `struct passwd' and `struct group' since null pointers in some
      fields are common on NextStep/OpenStep (especially so for the
      `pw_comment' field) and rb_tainted_str_new2() throws an exception
      when it receives a null pointer.
    
    * ext/pty/pty.c: include "util.h" for strdup()/ruby_strdup() for
      platforms such as NextStep and OpenStep which lack strdup().
    
    * ext/socket/getaddrinfo.c: cast first argument of getservbyname(),
      gethostbyaddr(), and gethostbyname() from (const char*) to non-const
      (char*) for older platforms such as NextStep and OpenStep.
    
    * ext/socket/socket.c: include "util.h" for strdup()/ruby_strdup() for
      platforms such as NextStep and OpenStep which lack strdup(); include
      <netinet/in_systm.h> if present for NextStep and OpenStep; cast first
      argument of gethostbyaddr() and getservbyname() from (const char*) to
      non-const (char*) for older platforms.
    
    * ext/syslog/syslog.c: include "util.h" for strdup()/ruby_strdup() for
      platforms such as NextStep and OpenStep which lack strdup().
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Sep 26, 2003
  1. Nobuyoshi Nakada

    * lib/resolv-replace.rb: 1.8 compliance. [ruby-talk:82946]

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

    * defines.h (flush_register_windows): use volatile only for gcc on

    nobu authored
      Solaris.  [ruby-dev:21403]
    
    * lib/mkmf.rb (xsystem): use system directly to honor shell meta
      charaters.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 24, 2003
  1. Nobuyoshi Nakada

    * configure.in (AC_C_VOLATILE): check if volatile works.

    nobu authored
    * defines.h (volatile): removed.
    
    * eval.c (rb_thread_group): Thread#group.  [new]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 20, 2003
  1. unak

    * defines.h (PATH_ENV): name of PATH environment. [new].

    unak authored
    * defines.h (ENV_IGNORECASE): define for case insensitive platforms
      to access environment variables.
    
    * dln.c (dln_find_exe): use PATH_ENV instead of "PATH".
    
    * hash.c (env_delete, rb_f_getenv, env_fetch, rb_env_path_tainted,
      env_aset): ditto.
    
    * ruby.c (proc_options): ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 1, 2003
  1. eban

    * configure.in: should not use def file, use ld with

    eban authored
      --export-all-symbols option on Cygwin/MinGW.
    * defines.h: ditto.
    * cygwin/GNUmakefile.in: ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 4, 2003
  1. Nobuyoshi Nakada

    * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: define

    nobu authored
      RUBY_EXPORT to export symbols.
    
    * defines.h: use RUBY_EXTERN instead of EXTERN.
    
    * intern.h, re.h, ruby.h, rubysig.h: ditto.
    
    * win32/win32.h: remove EXTERN definition.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 21, 2003
  1. Exchange do { } while (0) for ((void)0)

    michal authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 16, 2003
  1. -Wall cleanups (removed unused vars, no 'code has no effect' warnings)

    michal authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 4, 2003
  1. Akinori MUSHA
  2. Akinori MUSHA

    * defines.h (FLUSH_REGISTER_WINDOWS): Make the flushw call an

    knu authored
      inline function instead so it can be used as an expression.
    
    * eval.c (EXEC_TAG, THREAD_SAVE_CONTEXT): Consistently call
      FLUSH_REGISTER_WINDOWS before calling setjmp(). (I suspect that
      every setjmp() implementation should take care of register
      windows, though)
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 31, 2002
  1. Akinori MUSHA

    * array.c (rb_ary_transpose): Properly declare ary as a VALUE.

    knu authored
    * file.c (rb_file_s_chmod): Do not directly cast an int to void *
      to avoid a warning.
    
    * defines.h (FLUSH_REGISTER_WINDOWS): Add support for
      FreeBSD/sparc64.  miniruby still coredumps in a different place,
      though.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3250 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 Dec 2, 2002
  1. WinCE patch merged

    matz authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 18, 2002
  1. defines.h: hack for the case sizeof(short) == sizeof(int)

    matz authored
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 10, 2002
  1. * variable.c (rb_obj_remove_instance_variable): raise NameError if

    matz authored
      specified instance variable is not defined.
    
    * variable.c (generic_ivar_remove): modified to check ivar
      existence.
    
    * file.c (rb_file_s_extname): new method based on the proposal
      (and patch) from Mike Hall. [new]
    
    * eval.c (error_handle): default to 1 unless status is set.
    
    * eval.c (ruby_options): guard error_handle() with PROT_NONE.
    
    * eval.c (ruby_stop): ditto.
    
    * math.c (math_acosh): added. [new]
    
    * math.c (math_asinh): ditto.
    
    * math.c (math_atanh): ditto.
    
    * struct.c (rb_struct_each_pair): method added. [new]
    
    * class.c (rb_singleton_class): wrong condition; was creating
      unnecessary singleton class.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2348 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 14, 2002
  1. * re.c (rb_reg_match): should clear $~ if operand is nil.

    matz authored
    * re.c (rb_reg_match2): ditto.
    
    * configure: merge Jonathan Baker's large file support patch
      [ruby-talk:35316], with read_all patch in [ruby-talk:35470].
    
    * eval.c (rb_f_abort): optional message argument that be printed
      on termination. [new]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.