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 c86c2e3a1c * lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete.
a patch from Alan Johnson <alan.wayne.johnson at gmail.com> in 
  [ruby-core:19982].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 12:28:47 +00:00
bcc32 * Makefile.in, common.mk, {bcc,win}32/Makefile.sub (clean-ext): do not 2008-08-07 07:28:56 +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 revert previous commit. 2008-04-22 16:03:08 +00:00
ext * ext/bigdecimal/bigdecimal.c (VpMidRound): Round method bug 2008-11-12 04:39:11 +00:00
lib * lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete. 2008-11-18 12:28:47 +00:00
misc * misc/ruby-style.el (ruby-style-c-mode): buffer may not have file 2008-10-09 14:53:26 +00:00
missing * lib/rdoc.rb: massive spelling correction patch from Evan Farrar 2008-06-04 09:39:55 +00:00
sample sample/erb/erb4html.rb (ERB4Html) : add example of ERB#set_eoutvar. ERB4Html is an auto-quote ERB. 2008-05-04 00:41:52 +00:00
test * lib/logger.rb (ProgName): fixed for svn, based on a patch from 2008-11-18 07:18:29 +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 (rb_w32_accept): secure fd before accept because if 2008-11-11 08:54:07 +00:00
wince * configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert), 2008-08-09 23:15:08 +00:00
x68
.cvsignore * .cvsignore: ignore timestamp files and installed list file. 2006-09-21 17:06:50 +00:00
.document
array.c * array.c (rb_ary_join): do not repeat self in a recursive array. 2008-11-03 18:28:34 +00:00
bignum.c * bignum.c (rb_big2str0, bigsqr): made interruptible. [ruby-Bugs-20622] 2008-07-25 09:04:19 +00:00
ChangeLog * lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete. 2008-11-18 12:28:47 +00:00
class.c * class.c (clone_method): should copy cbase in cref as well. 2008-08-11 05:42:31 +00:00
common.mk * common.mk (revision.h): have to be updated daily or by non-trivial 2008-11-03 07:04:35 +00:00
compar.c
config.guess * config.{guess,sub}: updated to automake-1.10.1. 2008-08-10 03:29:21 +00:00
config.sub * config.{guess,sub}: updated to automake-1.10.1. 2008-08-10 03:29:21 +00:00
configure.in * configure.in (LIBRUBYARG_STATIC): fixed for --enable-rpath. 2008-11-16 17:19:05 +00:00
COPYING * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
COPYING.ja
defines.h * dln.c: newer BeOS support. a patch from Pete Goodeve 2008-09-19 00:32:22 +00:00
dir.c * dir.c (dir_globs): need taint check. reported by steve 2008-10-31 04:39:57 +00:00
distruby.rb * distruby.rb: Add zip generation. 2007-03-20 07:37:34 +00:00
dln.c * dln.c: newer BeOS support. a patch from Pete Goodeve 2008-09-19 00:32:22 +00:00
dln.h
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 * enum.c (count_i, count_iter_i, count_all_i): add prototypes for VC. 2008-05-29 20:29:27 +00:00
enumerator.c * enumerator.c (enumerator_ptr), lib/generator.rb: 2008-08-21 08:33:05 +00:00
env.h * env.h (SCOPE_CLONE): Introduce a new scope flag to prevent a 2007-03-03 07:28:54 +00:00
error.c * error.c (rb_exc_new3): keeps the given string itself. 2008-07-02 22:03:24 +00:00
eval.c * eval.c (yield_under): fixed initialization not being allowed in C90. 2008-11-16 01:02:41 +00:00
file.c * file.c (rb_file_s_extname): preceding dots are not a part of 2008-09-26 19:28:44 +00:00
gc.c * gc.c (gc_mark_children): ignores T_ZOMBIE. 2008-10-06 06:26:21 +00:00
GPL
hash.c * hash.c (rb_hash_key, env_key): Hash#index is renamed to 2008-11-07 09:31:02 +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 * enumerator.c, inits.c (rb_call_inits), ruby.h, intern.h, 2008-04-09 11:13:04 +00:00
install-sh
instruby.rb * configure.in, win32/Makefile.sub, mkconfig.rb, instruby.rb, 2008-05-29 11:07:59 +00:00
intern.h * gc.c (rb_mark_set): new function to mark keys. 2008-09-03 07:53:19 +00:00
io.c * dln.c: newer BeOS support. a patch from Pete Goodeve 2008-09-19 00:32:22 +00:00
keywords * suppress warnings with -Wwrite-string. 2008-05-31 09:28:20 +00:00
KNOWNBUGS.rb Add a comment. 2008-07-15 12:50:24 +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 * suppress warnings with -Wwrite-string. 2008-05-31 09:28:20 +00:00
LGPL
main.c * configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert), 2008-08-09 23:15:08 +00:00
Makefile.in * common.mk (extconf): use MAKEDIRS. 2008-08-10 02:03:01 +00:00
marshal.c * marshal.c (marshal_load): arg.data is no longer a VALUE but a 2008-11-03 06:52:06 +00:00
math.c * math.c (domain_check): fix preprocess condition. 2008-06-29 02:00:31 +00:00
mdoc2man.rb
missing.h * missing.h: needs RUBY_EXTERN instead of extern for mswin. 2008-11-03 07:32:57 +00:00
mkconfig.rb * configure.in (--with-ruby-version): Add a new option to specify 2008-07-15 12:43:03 +00:00
NEWS * ext/dbm/dbm.c (fdbm_key): Rename #index to #key. Emit a warning 2008-11-10 09:18:23 +00:00
node.h * class.c (clone_method): should copy cbase in cref as well. 2008-08-11 05:42:31 +00:00
numeric.c * dln.c: newer BeOS support. a patch from Pete Goodeve 2008-09-19 00:32:22 +00:00
object.c * object.c (rb_class_superclass): rdoc improvement, a patch from 2008-06-22 00:51:17 +00:00
pack.c * pack.c (pack_unpack): upper half of hexdigits has never been used. 2008-07-31 03:23:55 +00:00
parse.y * configure.in,parse.y: removed garbage spaces. 2008-08-10 03:15:37 +00:00
prec.c * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
process.c * process.c: include sys/resource.h if HAVE_SYS_RESOURCE_H is defined. 2008-06-26 13:10:39 +00:00
random.c * array.c (rb_ary_sample): rename #choice to #sample. in 2008-08-12 05:08:52 +00:00
range.c * range.c (range_step): Fix brokenness when a non-integer numeric 2008-05-28 08:51:07 +00:00
re.c * suppress warnings on cygwin, mingw and mswin. 2008-06-01 19:55:25 +00:00
re.h
README * README, README.ja: Add a note about default C flags. 2008-05-31 14:38:49 +00:00
README.EXT * configure.in, win32/Makefile.sub, mkconfig.rb, instruby.rb, 2008-05-29 11:07:59 +00:00
README.EXT.ja * configure.in, win32/Makefile.sub, mkconfig.rb, instruby.rb, 2008-05-29 11:07:59 +00:00
README.ja * README, README.ja: Add a note about default C flags. 2008-05-31 14:38:49 +00:00
regex.c * regex.c (xmalloc, xrealloc, xfree): not to use ruby managed memory. 2008-07-25 10:45:45 +00:00
regex.h * suppress warnings on cygwin, mingw and mswin. 2008-06-01 19:55:25 +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: Mac OS X needs origargc times of '\0' in origargv. [ruby-dev:35308] 2008-07-03 10:46:06 +00:00
ruby.h * include/ruby/ruby.h (POSFIXABLE): use FIXNUM_MAX+1 instead of 2008-07-03 07:48:09 +00:00
rubyio.h * rubyio.h (rb_io_t): renamed from OpenFile. 2008-04-15 03:35:55 +00:00
rubysig.h * eval.c (rb_thread_schedule): runs deferred finalizers. 2008-08-02 07:08:18 +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 * ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default 2007-05-22 20:48:34 +00:00
signal.c * suppress warnings on cygwin, mingw and mswin. 2008-06-01 19:55:25 +00:00
sprintf.c * array.c (ary_new, rb_ary_initialize, rb_ary_store, 2008-06-19 23:12:46 +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_succ): reverted previous changes. [ruby-dev:35389] 2008-07-09 13:11:39 +00:00
struct.c * gc.c: __size__ removed. use the length of __members__ instead. 2008-06-27 12:56:45 +00:00
time.c * time.c (time_mdump, time_mload): preserves GMT status. 2008-10-10 02:34:02 +00:00
ToDo
util.c * util.c (ruby_strtod): ruby_strtod don't allow a trailing 2008-06-10 08:05:34 +00:00
util.h * ext/readline/readline.c (readline_readline): type check. 2005-10-30 18:20:54 +00:00
variable.c * variable.c (classname, rb_obj_remove_instance_variable), 2008-10-08 02:23:04 +00:00
version.c * common.mk (-IF-NO-STRING-LITERAL-CONCATENATION-): make description 2008-06-27 06:05:11 +00:00
version.h * lib/optparse.rb (OptionParser::make_switch): makes default 2008-11-18 00:42:18 +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/

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'

     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: