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 aa9da28961 * mkconfig.rb: merge multiple entries to an entry with multiple lines.
* lib/mkmf.rb: allow a series of commands to link.

* win32/Makefile.sub: embed manifests.

* win32/setup.mak: suffix OS name by runtime version.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-24 16:52:00 +00:00
bcc32 * bcc32/Makefile.sub (HAVE_HYPOT): bcc32 has hypot(). 2006-02-24 02:37:59 +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/extmk.rb: deal with $static set in extconf.rb. 2006-05-24 16:43:45 +00:00
lib * mkconfig.rb: merge multiple entries to an entry with multiple lines. 2006-05-24 16:52:00 +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 * sample/rss/tdiary_plugin: removed. because the plugin 2005-07-27 13:16:32 +00:00
test * numeric.c (num_div): use floor rather than rb_Integer(). 2006-05-01 03:46:47 +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 * mkconfig.rb: merge multiple entries to an entry with multiple lines. 2006-05-24 16:52:00 +00:00
wince * configure.in (RUBY_EXTERN): macro to export symbols in shared 2005-10-25 17:00:03 +00:00
x68 Initial revision 1998-01-16 12:13:05 +00:00
.cvsignore * struct.c (make_struct): allow const_id for accessor names. 2005-05-11 01:11:52 +00:00
.document Support "require" as variable name in RDoc 2004-10-10 03:35:51 +00:00
array.c * ext/syck/emitter.c (syck_scan_scalar): avoid accessing 2006-05-03 17:29:36 +00:00
bignum.c * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
ChangeLog * mkconfig.rb: merge multiple entries to an entry with multiple lines. 2006-05-24 16:52:00 +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 * common.mk: io.c is depending on env.h 2006-02-13 14:22:56 +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 * configure.in (ac_install_sh): ignore dummy install-sh. 2006-05-24 14:52:10 +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 (sys_warning): should not call a vararg function 2006-05-17 09:14:34 +00:00
dln.c * configure.in, dln.c, file.c, intern.h, missing.h (eaccess): use 2006-01-25 13:30:11 +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 * enum.c (enum_min, enum_max): must not return Qundef. 2005-06-30 16:46:13 +00:00
env.h * eval.c (rb_call0): argument update propagation. [ruby-dev:28044] 2006-02-13 09:10:55 +00:00
error.c * variable.c (rb_class_path): need to adjust snprintf() len for 2005-07-20 01:09:54 +00:00
eval.c * eval.c (umethod_bind): should not update original class. 2006-05-22 07:01:53 +00:00
file.c * file.c (cygwin_flock): save old errno. 2006-02-06 07:13:53 +00:00
gc.c * gc.c (id2ref): fix symbol test. 2006-03-04 06:28:51 +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 * configure.in, hash.c (ruby_setenv): use setenv(3) and unsetenv(3) 2006-02-01 13:27:47 +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 avoid useless fcntl in rb_io_set_nonblock. 2006-05-22 22:12:57 +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 (OUTFLAG): keep trailing spaces. [ruby-dev:27666] 2005-11-10 23:22:03 +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 Add RDoc comments to math.c 2003-12-28 15:44:07 +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 * mkconfig.rb: merge multiple entries to an entry with multiple lines. 2006-05-24 16:52:00 +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 * gc.c: align VALUE with sizeof(RVALUE) globally. 2006-03-02 10:46:17 +00:00
pack.c * pack.c (pack_unpack): now supports CRLF newlines. a patch from 2006-04-26 08:01:45 +00:00
parse.y * parse.y (arg): too much NEW_LIST() 2006-04-19 04:57:58 +00:00
prec.c * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
process.c * process.c (rb_f_sleep): remove description about SIGALRM which 2006-03-24 08:22:36 +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 * re.c (rb_reg_initialize): should not allow modifying literal 2006-05-16 06:38:18 +00:00
re.h * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: define 2003-03-04 14:12:19 +00:00
README * eval.c (rb_thread_restore_context): save current value of 2001-09-08 14:17:53 +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 * regex.c (re_compile_pattern): should check if c is not a 2006-04-24 15:15:22 +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 * configure.in, hash.c (ruby_setenv): use setenv(3) and unsetenv(3) 2006-02-01 13:27:47 +00:00
ruby.h * ruby.h (SYM2ID): should not cast to signed long. 2006-03-01 08:09:09 +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 (trap): sig should be less then NSIG. Coverity found 2006-05-05 15:41:19 +00:00
sprintf.c * sprintf.c (rb_str_format): fix a GC problem. 2005-12-12 15:09:50 +00:00
st.c * ext/syck/rubyext.c: fixed GC problem (backported HEAD 1.55 - 1.62) 2005-12-20 04:13:26 +00:00
st.h * lib/cgi.rb (CGI::Cookie): [ruby-talk:130040] 2005-02-08 00:51:16 +00:00
string.c * re.c (rb_reg_initialize): should not modify untainted objects in 2006-05-16 00:25:18 +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_timeval): should round for usec floating 2006-05-18 08:54:01 +00:00
ToDo * gc.c (rb_gc): check odd alignment stack on m68k machines. 2003-05-08 09:45:52 +00:00
util.c * util.c (ruby_strtod): try to reduce errors using powersOf10 2006-05-16 23:24:08 +00:00
util.h * ext/readline/readline.c (readline_readline): type check. 2005-10-30 18:20:54 +00:00
variable.c * eval.c (rb_eval): use ARGSCAT for NODE_OP_ASGN1. 2006-04-19 03:02:03 +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-05-24 2006-05-23 23:30:46 +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.  Probably this step will not need.

  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: