Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
The Ruby Programming Language
Ruby C C++ HTML Yacc Makefile Other

This branch is 5729 commits ahead, 35815 commits behind trunk

* 2014-01-28

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/branches/ruby_1_8@44718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
latest commit 50783b870e
svn authored
Failed to load latest commit information.
bcc32 * configure.in (config.h): add include guard.
bin * ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys):
cygwin * common.mk (RBCONFIG): depends on version.h due to
djgpp * {bcc32,djgpp,win32,wince}/*.bat: add svn properties to DOSISH batch…
doc Split and move away old entries in ChangeLog and NEWS.
ext Merge r35953 from ruby_1_8_7.
lib Make an internal block of Generator return nil instead of self.
misc * misc/ruby-mode.el (ruby-here-doc-beg-match): fix for here-doc
missing * missing/*.c: include missing.h
sample merge r23443.
template * gc.c (Init_stack): use ruby_init_stack. [ruby-dev:34350]
test * test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_gc): Fix
vms * configure.in: Check for the availability of pid_t, gid_t and uid_t and
win32 * win32/win32.c (init_stdhandle): backport mistake of r29382.
wince * configure.in, common.mk, */configure.bat (rdoc): make before
x68 Initial revision
.document * prelude.rb (Process.daemon): New method.
.gdbinit * .gdbinit: classic version.
.gitignore * .gitignore: added.
COPYING * prec.c (prec_prec_f): documentation patch from
COPYING.ja
ChangeLog * configure.in: define USE_BUILTIN_FRAME_ADDRESS on x86_64
GPL * It is confusing to put the GPL license terms in the file COPYING;
KNOWNBUGS.rb Add a comment.
LEGAL * LEGAL: separated the section for parse.c. contributed by Paul
LGPL * It is confusing to put the GPL license terms in the file COPYING;
Makefile.in * Makefile.in (MINIRUBY): get rid of appending spaces for each
NEWS * array.c (rb_ary_sort_by_bang): Add Array#sort_by!.
README * README: update.
README.EXT * README.EXT, README.EXT.ja (Convert VALUE into C data):
README.EXT.ja * README.EXT, README.EXT.ja (Convert VALUE into C data):
README.ja * README: update.
ToDo * gc.c (rb_gc): check odd alignment stack on m68k machines.
array.c * array.c (rb_ary_collect), enum.c (enum_collect): rb_warn() is a
bignum.c * bignum.c (rb_big2str0): prevent working clone from
class.c * class.c (rb_define_class): raise TypeError same as class
common.mk * common.mk (RBCONFIG): depends on version.h due to
compar.c * time.c: rdoc fix for <=>
compile_prelude.rb * prelude.rb, Makefile.in, common.mk: Introduce prelude.rb.
config.guess * config.{guess,sub}: updated to automake-1.10.1.
config.sub * config.{guess,sub}: updated to automake-1.10.1.
configure.in * configure.in: define USE_BUILTIN_FRAME_ADDRESS on x86_64
defines.h * defines.h, intern.h, missing.h, ruby.h, st.h, util.h: include
dir.c * *.[chy]: removed trailing spaces.
distruby.rb * distruby.rb: Add zip generation.
dln.c * configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): moved from
dln.h Updated Copyrights of Matz to 2003.
dmydln.c This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
dmyext.c
enum.c * array.c (rb_ary_collect), enum.c (enum_collect): rb_warn() is a
enumerator.c * enumerator.c: Remove a duplicated declaration.
env.h * eval.c (rb_call0): should pass rest argument information even
error.c Merge r37148 from ruby_1_8_7.
eval.c
file.c * file.c (file_expand_path): home directory must be absolute.
gc.c Merged r22308. [ruby-dev:39637]
hash.c * hash.c (Hash#merge doc): Added explanation for form with block.
ia64.s This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
inits.c Forward port r34151 from ruby_1_8_7.
install-sh 1.4.0
instruby.rb * instruby.rb (ext-arch): prune directories start with '-'.
intern.h * eval.c (rb_thread_atfork): When a ruby process forks, its random
io.c * eval.c (rb_thread_atfork): When a ruby process forks, its random
keywords * parse.y: Support for { key: value } -style hash immediates.
lex.c * lex.c: update.
main.c * configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert),
marshal.c * marshal.c (mark_dump_arg): mark destination string. patch by
math.c * math.c (domain_check): check errno first.
mdoc2man.rb * mdoc2man.rb: Properly put nested braces, parentheses and angles.
miniprelude.c * prelude.rb, Makefile.in, common.mk: Introduce prelude.rb.
missing.h merge from trunk (r28772)
mkconfig.rb * mkconfig.rb: should use RbConfig instead of Config, because the name
node.h * eval.c (rb_add_threadswitch_hook): wrapper for unofficial APIs
numeric.c * numeric.c (int_pow, fix_mul): Avoid optimization bugs of
object.c * object.c: Make BasicObject.new accept no parameter.
pack.c update doc.
parse.y * parse.y (opt_block_arg): Allow a trailing comma at the end of
prec.c * *.[chy]: removed trailing spaces.
prelude.rb * prelude.rb (Process.daemon): New method.
process.c * io.c, eval.c, process.c: remove all condition of r26371.
random.c Forward port r34151 from ruby_1_8_7.
range.c * range.c (range_eql): fixed rdoc.
re.c * re.c (rb_reg_regcomp): should succeed the taint status from the
re.h * re.h (RMATCH_REGS): parenthesize cast expression. suggested
regex.c
regex.h * *.[chy]: removed trailing spaces.
ruby.1 * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::wrap): removed
ruby.c * ruby.c (get_arglen): skip the last terminator of argv before
ruby.h * pack.c: backport integer pack/unpack from 1.9 for [ruby-core:21937].
rubyio.h * rubyio.h (rb_io_t): renamed from OpenFile.
rubysig.h * eval.c (rb_thread_schedule): runs deferred finalizers.
rubytest.rb * lib/date.rb (once): Use Object#object_id instead of Symbol#to_i;
runruby.rb * ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default
signal.c * *.[chy]: removed trailing spaces.
sprintf.c * *.[chy]: removed trailing spaces.
st.c Forward port r34151 from ruby_1_8_7.
st.h * defines.h, intern.h, missing.h, ruby.h, st.h, util.h: include
string.c Forward port r34151 from ruby_1_8_7.
struct.c * *.[chy]: removed trailing spaces.
time.c * time.c (time_asctime): workaround for MSVCRT's bug.
util.c * util.c (ruby_add_suffix): fixed a bug returning uninitialized
util.h * defines.h, intern.h, missing.h, ruby.h, st.h, util.h: include
variable.c * variable.c (rb_const_get_0): Fix previous change. There were
version.c * version.c (ruby_description): RUBY_REVISION_STR may be empty.
version.h * 2014-01-28

README

* What's Ruby

Ruby is the interpreted scripting language for quick and
easy object-oriented programming.  It has many features to
process text files and to do system management tasks (as in
Perl).  It is simple, straight-forward, and extensible.


* Features of Ruby

  + Simple Syntax
  + *Normal* Object-Oriented features(ex. class, method calls)
  + *Advanced* Object-Oriented features(ex. Mix-in, Singleton-method)
  + Operator Overloading
  + Exception Handling
  + Iterators and Closures
  + Garbage Collection
  + Dynamic Loading of Object files(on some architecture)
  + Highly Portable(works on many UNIX machines, and on DOS,
    Windows, Mac, BeOS etc.)


* How to get Ruby

The Ruby distribution files can be found in the following FTP site:

  ftp://ftp.ruby-lang.org/pub/ruby/

The latest source code of this version series can be checked out
through SVN with the following command:

  $ svn co http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8/

The trunk of the Ruby source tree can be checked out with the
following command:

  $ svn co http://svn.ruby-lang.org/repos/ruby/trunk/ ruby

There are some other branches under development.  Try the following
command and see the list of branches:

  $ svn ls http://svn.ruby-lang.org/repos/ruby/branches/


* Ruby home-page

The URL of the Ruby home-page is:

   http://www.ruby-lang.org/


* Mailing list

There is a mailing list to talk about Ruby.
To subscribe this list, please send the following phrase

	subscribe YourFirstName YourFamilyName
e.g.
        subscribe Joseph Smith

in the mail body (not subject) to the address <ruby-talk-ctl@ruby-lang.org>.


* How to compile and install

This is what you need to do to compile and install Ruby:

  1. If ./configure does not exist or is older than configure.in,
     run autoconf to (re)generate configure.

  2. Run ./configure, which will generate config.h and Makefile.

     Some C compiler flags may be added by default depending on your
     environment.  Specify optflags=.. and warnflags=.. as necessary
     to override them.

  3. Edit defines.h if you need.  Usually this step will not be needed.

  4. Remove comment mark(#) before the module names from ext/Setup (or
     add module names if not present), if you want to link modules
     statically.

     If you don't want to compile non static extension modules
     (probably on architectures which does not allow dynamic loading),
     remove comment mark from the line "#option nodynamic" in
     ext/Setup.

  5. Run make.

  6. Optionally, run 'make test' to check whether the compiled Ruby
     interpreter works well.  If you see the message "test succeeded",
     your ruby works as it should (hopefully).

  7. Run 'make install'

     This command will create following directories and install files
     onto them.

       * ${DESTDIR}${prefix}/bin
       * ${DESTDIR}${prefix}/lib
       * ${DESTDIR}${prefix}/lib/ruby
       * ${DESTDIR}${prefix}/lib/ruby/${MAJOR}.${MINOR}
       * ${DESTDIR}${prefix}/lib/ruby/${MAJOR}.${MINOR}/${PLATFORM}
       * ${DESTDIR}${prefix}/lib/ruby/site_ruby
       * ${DESTDIR}${prefix}/lib/ruby/site_ruby/${MAJOR}.${MINOR}
       * ${DESTDIR}${prefix}/lib/ruby/site_ruby/${MAJOR}.${MINOR}/${PLATFORM}
       * ${DESTDIR}${prefix}/lib/ruby/vendor_ruby
       * ${DESTDIR}${prefix}/lib/ruby/vendor_ruby/${MAJOR}.${MINOR}
       * ${DESTDIR}${prefix}/lib/ruby/vendor_ruby/${MAJOR}.${MINOR}/${PLATFORM}
       * ${DESTDIR}${prefix}/share/man/man1

     If Ruby's version is `x.y.z', the ((|${MAJOR}|)) is `x' and the
     ((|${MINOR}|)) is `y'.

     You may have to be a super user to install ruby.

If you fail to compile ruby, please send the detailed error report with
the error log and machine/OS type, to help others.


* Copying

See the file COPYING.


* The Author

Feel free to send comments and bug reports to the author.  Here is the 
author's latest mail address:

  matz@netlab.jp

-------------------------------------------------------
created at: Thu Aug  3 11:57:36 JST 1995
Local variables:
mode: indented-text
end:
Something went wrong with that request. Please try again.