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
matz e5380bb463 * eval.c (rb_undef): undef should be done for klass, not ruby_class.
* eval.c (error_handle): should handle TAG_THROW as well.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-31 05:17:29 +00:00
cygwin * configure.in: remove unnecessary AC_CANONICAL_BUILD 2001-05-28 16:07:34 +00:00
djgpp * djgpp/config.hin, djgpp/config.sed: catch up with the latest change. 2002-05-16 06:18:26 +00:00
doc * lib/getopts.rb: Merge from 1.7. Rewrite to fix some bugs and 2002-03-13 09:53:54 +00:00
ext * ext/tcltklib/stubs.c (ruby_tcltk_stubs): win32_getenv returns 2002-07-30 06:36:30 +00:00
lib * lib/cgi.rb (CGI#initialize): improvement for mod_ruby. 2002-07-05 05:04:25 +00:00
misc * misc/ruby-mode.el (ruby-font-lock-keywords): symbols end with '_'. 2002-05-21 04:35:31 +00:00
missing * gc.c (is_pointer_to_heap): avoid GCC 3.1 warnings. 2002-05-14 06:10:51 +00:00
sample * sampl/test.rb: use eval instead of './miniruby -c', 2002-05-17 07:35:24 +00:00
win32 * win32/win32.c (rb_w32_stat): fix buffer overflow. (ruby-bugs:PR#329) 2002-06-27 15:51:49 +00:00
x68 Initial revision 1998-01-16 12:13:05 +00:00
.cvsignore .cvsignore: add autom4te*.cache. 2002-03-26 06:44:52 +00:00
array.c * intern.h: add prototypes. 2001-12-17 08:13:17 +00:00
bignum.c * string.c (rb_str_slice_bang): if there's no corresponding 2002-07-11 08:24:54 +00:00
ChangeLog * eval.c (rb_undef): undef should be done for klass, not ruby_class. 2002-07-31 05:17:29 +00:00
class.c * string.c (rb_str_slice_bang): if there's no corresponding 2002-07-11 08:24:54 +00:00
compar.c matz: 1.6.0 final (hopufully) 2000-09-12 05:37:38 +00:00
config.guess * signal.c (sighandle): should not re-register sighandler if 2001-11-13 08:22:29 +00:00
config.sub * eval.c (blk_orphan): the wrong condition; backported from 1.7 2002-05-14 06:08:44 +00:00
configure.in * configure.in (seekdir, telldir): add ac_cv_func_telldir=yes, 2002-06-30 09:07:54 +00:00
COPYING * process.c (rb_syswait): thread kludge; should be fixed to 2002-02-25 09:18:09 +00:00
COPYING.ja This commit was manufactured by cvs2svn to create branch 'ruby_1_6'. 2001-07-19 05:44:27 +00:00
defines.h forgot to commit everything bug ChangeLog 2002-01-04 14:20:35 +00:00
dir.c * dir.c (rb_glob_helper): Use lstat() instead of rb_sys_stat() so 2002-06-15 10:32:23 +00:00
dln.c * dln.c: remove definition rb_loaderror(). 2002-06-25 09:44:57 +00:00
dln.h * dln.h, ruby.h, util.h: enable prototypes in C++. 2001-12-21 07:20:23 +00:00
dmyext.c Initial revision 1998-01-16 12:13:05 +00:00
enum.c * enum.c (enum_find): catch a value before recycle. 2002-03-18 02:00:05 +00:00
env.h 000831 2000-08-31 08:08:39 +00:00
error.c * error.c: MatchData, not Match. 2002-04-02 09:47:46 +00:00
eval.c * eval.c (rb_undef): undef should be done for klass, not ruby_class. 2002-07-31 05:17:29 +00:00
file.c * time.c (time_arg): nil test against v[6] (usec). 2002-05-29 05:22:02 +00:00
gc.c * parse.y (yylex): 'do' should return kDO_BLOCK on EXPR_ENDARG. 2002-06-12 09:24:58 +00:00
GPL This commit was manufactured by cvs2svn to create branch 'ruby_1_6'. 2001-07-11 19:25:53 +00:00
hash.c * hash.c (rb_hash_s_create): use rb_hash_aset() instead of calling 2002-06-13 03:54:39 +00:00
inits.c 2000-05-01 2000-05-01 09:42:38 +00:00
install-sh 1.4.0 1999-08-13 05:45:20 +00:00
instruby.rb * sample/irb.rb, lib/irb.rb, lib/irb/*, doc/irb/*: Merge from irb 2001-04-30 18:39:35 +00:00
intern.h * eval.c, gc.c, intern.h, variable.c: declare rb_gc_mark{,maybe}() 2002-05-04 12:04:52 +00:00
io.c * io.c (rb_io_clone): writing stream was not copied properly. 2002-05-20 04:33:59 +00:00
keywords * lex.c (rb_reserved_word): lex_state after tRESCUE should be 2001-06-29 08:32:54 +00:00
LEGAL The author of getoptlong.rb has agreed on changing the license from 2002-01-04 09:03:11 +00:00
lex.c * intern.h: add prototypes. 2001-12-17 08:13:17 +00:00
LGPL This commit was manufactured by cvs2svn to create branch 'ruby_1_6'. 2001-07-11 19:25:53 +00:00
main.c matz 2000-10-02 07:48:42 +00:00
Makefile.in * variable.c (rb_obj_remove_instance_variable): raise NameError if 2002-04-10 08:47:46 +00:00
MANIFEST added uri library (uri-0.9.4) 2002-01-16 14:48:28 +00:00
marshal.c * file.c (rb_find_file): load must be done from an abolute path if 2002-05-01 09:38:01 +00:00
math.c * math.c (Init_Math): backport asin, acos, atan. 2002-06-05 09:54:09 +00:00
mkconfig.rb * signal.c (sighandle): should not re-register sighandler if 2001-11-13 08:22:29 +00:00
node.h * eval.c (scope_node): trick to keep the node has a scope. 2002-05-28 03:20:04 +00:00
numeric.c * numeric.c (fix_lshift): negative shift count means right shift. 2002-06-10 10:15:00 +00:00
object.c * file.c (rb_find_file): load must be done from an abolute path if 2002-05-01 09:38:01 +00:00
pack.c * file.c (rb_find_file): load must be done from an abolute path if 2002-05-01 09:38:01 +00:00
parse.y * eval.c (rb_eval): fixed line number in string interpolation. 2002-07-11 15:51:49 +00:00
prec.c Sun Jan 14 21:49:28 2001 Koji Arai <JCA02266@nifty.ne.jp> 2001-01-15 07:33:17 +00:00
process.c * regex.c (re_compile_pattern): '\0111' should be '\011' plus '1', 2002-03-12 09:27:29 +00:00
random.c * random.c (rand_init): add check for initstate(3). 2002-04-11 11:00:02 +00:00
range.c * string.c (rb_str_slice_bang): if there's no corresponding 2002-07-11 08:24:54 +00:00
re.c * string.c (rb_str_slice_bang): if there's no corresponding 2002-07-11 08:24:54 +00:00
re.h 2000-05-30 2000-05-30 04:24:17 +00:00
README * eval.c (rb_thread_restore_context): save current value of 2001-09-08 14:06:14 +00:00
README.EXT * README.EXT: Appendix B is duplicated. 2001-11-29 15:30:54 +00:00
README.EXT.ja * README.EXT: Appendix B is duplicated. 2001-11-29 15:30:54 +00:00
README.ja * eval.c (rb_thread_restore_context): save current value of 2001-09-08 14:06:14 +00:00
regex.c * parse.y (read_escape): deny zero-width hexadecimal character. 2002-06-14 06:27:18 +00:00
regex.h forgot to commit everything bug ChangeLog 2002-01-04 14:20:35 +00:00
ruby.1 * eval.c (block_pass): should not pass tainted block, if $SAFE > 0. 2002-01-16 09:22:45 +00:00
ruby.c * ruby.c (proc_options): -v should not print version if 2002-05-23 05:54:23 +00:00
ruby.h * file.c (rb_find_file): load must be done from an abolute path if 2002-05-01 09:38:01 +00:00
rubyio.h * intern.h: add prototypes. 2001-12-17 08:13:17 +00:00
rubysig.h * eval.c (rb_f_missing): NoMethod error messages for true, false, 2002-02-27 04:50:30 +00:00
rubytest.rb matz - nakada win32 patch 2000-08-03 09:50:41 +00:00
signal.c * eval.c (cvar_cbase): utility function to find innermost non 2002-03-08 06:59:55 +00:00
sprintf.c * string.c (rb_str_aset): should raise error if an indexing string 2002-06-04 07:11:56 +00:00
st.c * st.c (st_init_table_with_size): num_bins should be prime numbers 2002-02-28 06:52:49 +00:00
st.h 20000105 2000-01-05 04:41:21 +00:00
string.c * string.c (rb_str_slice_bang): if there's no corresponding 2002-07-11 08:24:54 +00:00
struct.c * class.c (rb_make_metaclass): [new] 2002-01-10 23:38:57 +00:00
time.c * eval.c (rb_undef): undef should be done for klass, not ruby_class. 2002-07-31 05:17:29 +00:00
ToDo 001225 2000-12-25 06:29:27 +00:00
util.c * util.c (push_element): avoid warning for djgpp. 2002-04-24 12:06:57 +00:00
util.h * dln.h, ruby.h, util.h: enable prototypes in C++. 2001-12-21 07:20:23 +00:00
variable.c * eval.c, gc.c, intern.h, variable.c: declare rb_gc_mark{,maybe}() 2002-05-04 12:04:52 +00:00
version.c * eval.c (block_pass): should not pass tainted block, if $SAFE > 0. 2002-01-16 09:22:45 +00:00
version.h * eval.c (rb_undef): undef should be done for klass, not ruby_class. 2002-07-31 05:17:29 +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: