1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
The Ruby Programming Language [mirror]
Find a file
nobu 576e131a48 * hash.c (rb_hash_s_create): fixed memory leak, based on the patch
by Kent Sibilev <ksruby at gmail.com>.  fixed: [ruby-talk:211233]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-29 10:11:27 +00:00
bcc32 * ruby.h, lib/mkmf.rb (create_header): clear command line options for 2006-05-25 23:44:08 +00:00
bin * ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys): 2005-10-24 00:07:01 +00:00
cygwin * Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not load 2005-09-06 23:23:04 +00:00
djgpp This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2003-12-25 08:48:14 +00:00
doc * lib/irb.rb lib/irb/* doc/irb: IRB 0.9.5 2005-04-19 19:24:59 +00:00
ext * ext/bigdecimal/bigdecimal.c, ext/digest/rmd160/rmd160ossl.c, 2006-08-07 09:01:27 +00:00
lib Fix typo. Submitted by <calamitas at gmail.com>. [ruby-core:08724] 2006-08-28 02:38:01 +00:00
misc * misc/ruby-mode.el (ruby-expr-beg): support $! at the end of 2005-11-30 15:56:58 +00:00
missing * io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c: 2005-10-13 14:30:54 +00:00
sample * ext/openssl/extconf.rb: add check for OBJ_NAME_do_all_sorted. 2006-06-20 11:18:16 +00:00
test * test/ruby/test_process.rb (TestProcess#test_rlimit_nofile): 2006-07-31 07:18:43 +00:00
vms * configure.in: Check for the availability of pid_t, gid_t and uid_t and 2005-05-14 14:57:53 +00:00
win32 * win32/Makefile.sub (config.status): include winsock2.h instead of 2006-08-19 05:17:43 +00:00
wince * ruby.h, lib/mkmf.rb (create_header): clear command line options for 2006-05-25 23:44:08 +00:00
x68 Initial revision 1998-01-16 12:13:05 +00:00
.cvsignore * configure.in: add support for as and ASFLAGS. [ruby-dev:29138] 2006-07-26 13:28:17 +00:00
.document Support "require" as variable name in RDoc 2004-10-10 03:35:51 +00:00
array.c comment rb_ary_new4 behavior in Ruby 1.9. 2006-06-24 14:53:36 +00:00
bignum.c * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
ChangeLog * hash.c (rb_hash_s_create): fixed memory leak, based on the patch 2006-08-29 10:11:27 +00:00
class.c * class.c (rb_mod_init_copy, rb_class_init_copy), file.c (rb_stat_init_copy), 2005-09-28 14:42:46 +00:00
common.mk * Makefile.in, common.mk, configure.in: fix for platforms without 2006-08-08 02:37:43 +00:00
compar.c Fix dependency issue 2003-12-19 00:01:19 +00:00
config.guess * eval.c (THREAD_ALLOC): th->thread should be initialized to NULL. 2004-07-17 02:23:52 +00:00
config.sub * config.guess, config.sub: Attempt to avoid system name change on 2004-06-11 05:29:02 +00:00
configure.in * Makefile.in, common.mk, configure.in: fix for platforms without 2006-08-08 02:37:43 +00:00
COPYING * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
COPYING.ja Rename *.jp to *.ja, since jp is a region code and ja is a language 2001-07-19 05:44:26 +00:00
defines.h * configure.in (RUBY_EXTERN): macro to export symbols in shared 2005-10-25 17:00:03 +00:00
dir.c * dir.c (has_magic): glob names contain alphabets to enable case fold 2006-07-14 16:27:51 +00:00
dln.c * dln.c, eval.c, gc.c, regex.c, ruby.h: shut up AIX alloca 2006-08-07 03:43:42 +00:00
dln.h Updated Copyrights of Matz to 2003. 2003-01-16 07:34:03 +00:00
dmydln.c This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2005-04-20 14:25:35 +00:00
dmyext.c Initial revision 1998-01-16 12:13:05 +00:00
enum.c Documentation typo 2006-06-15 01:24:40 +00:00
env.h * eval.c (rb_call0): argument update propagation. [ruby-dev:28044] 2006-02-13 09:10:55 +00:00
error.c * ruby.h: export classes/modules to implement sandbox. 2006-07-20 07:04:17 +00:00
eval.c * dln.c, eval.c, gc.c, regex.c, ruby.h: shut up AIX alloca 2006-08-07 03:43:42 +00:00
file.c Fix documentation submitted by Rick Ohnemus. ruby-Bugs-5529. [ruby-core:08725] 2006-08-27 22:30:48 +00:00
gc.c * gc.c (gc_sweep): typo fixed. 2006-08-25 08:12:46 +00:00
GPL * It is confusing to put the GPL license terms in the file COPYING; 2001-07-11 19:25:52 +00:00
hash.c * hash.c (rb_hash_s_create): fixed memory leak, based on the patch 2006-08-29 10:11:27 +00:00
ia64.s This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2006-01-01 08:12:39 +00:00
inits.c Add boot_classes to rdoc parsing, fix a couple of bugs 2003-12-19 03:58:57 +00:00
install-sh 1.4.0 1999-08-13 05:45:20 +00:00
instruby.rb * instruby.rb: install *.exe.manifest and *.dll.manifest if exist. 2006-02-24 03:12:27 +00:00
intern.h * re.c (rb_reg_initialize): should not modify untainted objects in 2006-05-16 00:25:18 +00:00
io.c * ruby.h: use ifdef (or defined) for macro constants that may or 2006-07-31 06:34:10 +00:00
keywords * keywords: add braces around initializers. 2002-09-28 11:08:59 +00:00
LEGAL * LEGAL (ext/nkf/nkf-utf8): updated from nkf1.7 to nkf-utf8. 2005-07-13 15:46:37 +00:00
lex.c * keywords: add braces around initializers. 2002-09-28 11:08:59 +00:00
LGPL * It is confusing to put the GPL license terms in the file COPYING; 2001-07-11 19:25:52 +00:00
main.c * main.c (_stklen): move to gc.c. 2004-10-31 16:06:57 +00:00
Makefile.in * Makefile.in, common.mk, configure.in: fix for platforms without 2006-08-08 02:37:43 +00:00
marshal.c * marshal.c (r_object0): fix a GC problem for reading a bignum on 2005-12-14 03:04:14 +00:00
math.c * math.c (domain_check): a new function to check domain error 2006-07-27 16:14:03 +00:00
mdoc2man.rb * mdoc2man.rb: Properly put nested braces, parentheses and angles. 2003-01-20 12:10:40 +00:00
missing.h * configure.in, dln.c, file.c, intern.h, missing.h (eaccess): use 2006-01-25 13:30:11 +00:00
mkconfig.rb * Makefile.in, mkconfig.rb: catch-up for latest autoconf. 2006-06-25 14:03:10 +00:00
node.h * eval.c (rb_call0): argument update propagation. [ruby-dev:28044] 2006-02-13 09:10:55 +00:00
numeric.c * numeric.c (num_div): use floor rather than rb_Integer(). 2006-05-01 03:46:47 +00:00
object.c * object.c (rb_cstr_to_dbl): limit out-of-range message. 2006-07-18 01:55:15 +00:00
pack.c * pack.c (pack_pack): check argument overrun for 'P'. based on a 2006-08-04 04:58:25 +00:00
parse.y remove semicolon warning. [ruby-dev:29299] 2006-08-22 09:39:45 +00:00
prec.c * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
process.c * process.c (proc_setuid, proc_setgid, proc_seteuid, proc_setegid): 2006-08-16 02:46:10 +00:00
random.c * random.c (rand_init): suppress warning. 2005-02-12 06:07:47 +00:00
range.c * eval.c (rb_rescue2): reduce PUSH_TAG() as well as NODE_RESCUE. 2005-08-14 15:39:39 +00:00
re.c * ruby.h: export classes/modules to implement sandbox. 2006-07-20 07:04:17 +00:00
re.h * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: define 2003-03-04 14:12:19 +00:00
README * lib/irb/extend-command.rb (IRB::ExtendCommandBundle): pacify 2006-08-08 15:17:06 +00:00
README.EXT * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
README.EXT.ja * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
README.ja * eval.c (rb_thread_restore_context): save current value of 2001-09-08 14:17:53 +00:00
regex.c * dln.c, eval.c, gc.c, regex.c, ruby.h: shut up AIX alloca 2006-08-07 03:43:42 +00:00
regex.h * regex.h (re_mbctab): should refer to RUBY_EXPORT. [ruby-ext:02199] 2003-08-03 09:22:50 +00:00
ruby.1 * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::wrap): removed 2006-03-11 08:27:43 +00:00
ruby.c * ruby.c (set_arg0): fill argv other than the first with an empty 2006-08-16 02:11:21 +00:00
ruby.h * dln.c, eval.c, gc.c, regex.c, ruby.h: shut up AIX alloca 2006-08-07 03:43:42 +00:00
rubyio.h * rubyio.h (rb_io_set_nonblock): declared. 2006-05-22 08:38:37 +00:00
rubysig.h * rubysig.h (CHECK_INTS): fixed typo. (I believe bit-or is improper) 2005-10-21 10:23:03 +00:00
rubytest.rb * instruby.rb, rubytest.rb (srcdir): no longer embed srcdir into 2005-02-06 17:03:35 +00:00
runruby.rb * runruby.rb: should load built rbconfig.rb. 2005-06-23 14:56:40 +00:00
signal.c * signal.c (ruby_nativethread_signal, posix_nativethread_signal, 2006-07-10 05:02:00 +00:00
sprintf.c * io.c (io_close): always calls "close" method of the receiver. 2006-07-28 16:27:42 +00:00
st.c * ruby.h: use ifdef (or defined) for macro constants that may or 2006-07-31 06:34:10 +00:00
st.h * st.h (st_data_t): use pointer sized integer for st_data_t. 2006-07-10 01:30:14 +00:00
string.c * ruby.h: use ifdef (or defined) for macro constants that may or 2006-07-31 06:34:10 +00:00
struct.c * eval.c (eval): need not to protect $SAFE value. 2006-02-02 07:18:12 +00:00
time.c * time.c (time_to_s): fixed format mismatch. 2006-07-27 13:23:18 +00:00
ToDo * gc.c (rb_gc): check odd alignment stack on m68k machines. 2003-05-08 09:45:52 +00:00
util.c * object.c (rb_cstr_to_dbl): limit out-of-range message. 2006-07-18 01:55:15 +00:00
util.h * ext/readline/readline.c (readline_readline): type check. 2005-10-30 18:20:54 +00:00
variable.c * ruby.h: export classes/modules to implement sandbox. 2006-07-20 07:04:17 +00:00
version.c * version.c (ruby_show_version): flush for non-tty stdout. 2005-05-12 00:54:36 +00:00
version.h 2006-08-28 2006-08-27 22:30:53 +00:00

* 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 can be found on:

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

You can get it by anonymous CVS.  How to check out is:

  $ cvs -d :pserver:anonymous@cvs.ruby-lang.org:/src login
  (Logging in to anonymous@cvs.ruby-lang.org)
  CVS password: anonymous
  $ cvs -z4 -d :pserver:anonymous@cvs.ruby-lang.org:/src checkout ruby


* 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.

  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'

     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: