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
knu bc6ef3dc20 Merge changes between r11913 and r11943 from ruby_1_8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-28 13:23:42 +00:00
bcc32 * instruby.rb, mkconfig.rb, rubytest.rb, bcc32/mkexports.rb, win32/{resource,mkexports}.rb: set executable. 2006-12-21 15:48:01 +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 * {bcc32,djgpp,win32,wince}/*.bat: add svn properties to DOSISH batch files. 2006-12-21 07:15:01 +00:00
doc Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +00:00
ext Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +00:00
lib Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +00:00
misc * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): fix 2007-01-24 09:11:36 +00:00
missing Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +00:00
sample * sample/openssl/c_rehash.rb: Use digest/md5 instead of obsolete md5. 2006-10-05 19:31:50 +00:00
test Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +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/win32.c (set_pioinfo_extra): new function for VC++8 SP1 2007-02-24 08:00:24 +00:00
wince * {bcc32,djgpp,win32,wince}/*.bat: add svn properties to DOSISH batch files. 2006-12-21 07:15:01 +00:00
x68
.cvsignore * .cvsignore: ignore timestamp files and installed list file. 2006-09-21 17:06:50 +00:00
.document Support "require" as variable name in RDoc 2004-10-10 03:35:51 +00:00
array.c * array.c (rb_ary_shift): shorten copy size. fixed: [ruby-list:42907] 2006-10-18 13:57:43 +00:00
bignum.c * bignum.c (bignorm): avoid segmentation. a patch from Hiroyuki 2006-11-24 01:24:51 +00:00
ChangeLog Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +00:00
class.c * class.c (rb_include_module): remove unnecessary check. 2006-10-06 15:32:09 +00:00
common.mk Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +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 Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +00:00
COPYING * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
COPYING.ja
defines.h * defines.h: Pull the RUBY_MBCHAR_MAXSIZE definition from trunk, 2007-02-24 17:52:08 +00:00
dir.c Fix a trivial typo. 2007-02-24 07:55:06 +00:00
distruby.rb Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +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
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 * configure.in, defines.h, eval.c (rb_feature_p, rb_provided, 2007-02-19 09:28:43 +00:00
file.c * file.c (rb_find_file): should not call fpath_check() with NULL. 2007-01-09 08:48:03 +00:00
gc.c * gc.c (ruby_init_stack): decrease "stack level too deep" in Windows. 2006-12-01 08:03:31 +00:00
GPL
hash.c * hash.c: added documentation for Hash about how it uses eql? and 2007-01-23 09:34:04 +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
instruby.rb * instruby.rb, mkconfig.rb, rubytest.rb, bcc32/mkexports.rb, win32/{resource,mkexports}.rb: set executable. 2006-12-21 15:48:01 +00:00
intern.h * dir.c, win32/win32.c, win32/dir.h, ruby.h, intern.h: Bring 2007-02-15 02:52:43 +00:00
io.c * io.c (rb_f_syscall): Fix buffer overflow with syscall 2007-02-13 06:21:47 +00:00
keywords
LEGAL * LEGAL (ext/nkf/nkf-utf8): updated from nkf1.7 to nkf-utf8. 2005-07-13 15:46:37 +00:00
lex.c
LGPL
main.c * common.mk, configure.in, defines.h, eval.c, gc.c, main.c, 2006-09-01 18:47:11 +00:00
Makefile.in * Makefile.in, common.mk (NULLCMD): moved for platforms that empty 2006-12-06 14:57:07 +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 Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +00:00
NEWS Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +00:00
node.h * node.h (struct thread): declare win32_exception_list on cygwin and 2006-09-28 15:01:04 +00:00
numeric.c * numeric.c (fix_cmp, fix_equal): Remove FIX2LONG() to optimize. 2007-02-23 04:24:16 +00:00
object.c * object.c: Class#inherited RDoc added. a patch from Daniel 2006-10-13 09:25:15 +00:00
pack.c * merge -c 11935 2007-02-28 12:05:21 +00:00
parse.y Merge trivial changes to reduce diffs from ruby_1_8. 2007-02-20 06:53:16 +00:00
prec.c * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
process.c * io.c (pipe_open): command name should not contain null bytes. 2006-09-04 07:26:47 +00:00
random.c * random.c (rb_f_rand): RDoc typo fix. a patch from Frederick 2006-09-24 23:14:14 +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 * ext/strscan/strscan.c (strscan_do_scan): should set kcode option before match. [ruby-dev:29914] 2007-01-10 09:59:11 +00:00
re.h * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: define 2003-03-04 14:12:19 +00:00
README Update the distribution information. 2007-02-20 07:37:34 +00:00
README.EXT * README.EXT: English adjustment. [ruby-core:08855] 2006-09-13 14:45:21 +00:00
README.EXT.ja * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
README.ja Update the distribution information. 2007-02-20 07:37:34 +00:00
regex.c Merge changes between r11871 and r11907 from ruby_1_8. 2007-02-27 11:51:55 +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 * dir.c, win32/win32.c, win32/dir.h, ruby.h, intern.h: Bring 2007-02-15 02:52:43 +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, mkconfig.rb, rubytest.rb, bcc32/mkexports.rb, win32/{resource,mkexports}.rb: set executable. 2006-12-21 15:48:01 +00:00
runruby.rb * runruby.rb: extension library scripts moved into common directory. 2006-09-24 13:28:53 +00:00
signal.c * win32/win32.c (set_pioinfo_extra): new function for VC++8 SP1 2007-02-24 08:00:24 +00:00
sprintf.c * sprintf.c (rb_f_sprintf): need not to truncate string if no 2006-11-27 08:20:41 +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 * string.c (rb_str_sub_bang): calling rb_str_modify() should be just 2007-01-30 06:04:37 +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_dup): duplicate the class of original time. 2006-10-31 08:08:46 +00:00
ToDo * gc.c (rb_gc): check odd alignment stack on m68k machines. 2003-05-08 09:45:52 +00:00
util.c Merge changes between r11907 and r11913 from ruby_1_8. 2007-02-27 12:51:26 +00:00
util.h * ext/readline/readline.c (readline_readline): type check. 2005-10-30 18:20:54 +00:00
variable.c * variable.c (rb_define_const): typo fixed. 2006-12-11 02:49:37 +00:00
version.c Sun Nov 26 16:36:46 2006 URABE Shyouhei <shyouhei@ruby-lang.org> 2006-11-26 09:34:32 +00:00
version.h Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +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 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_6/

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.

  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: