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
tenderlove f28a0b6b98 * test/dl/test_callback.rb (**): testing return values of dl callbacks
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-03 03:04:27 +00:00
bcc32
benchmark
bin
bootstraptest * parse.y (dyna_push_gen, dyna_pop_gen): adjust local vtable level 2009-11-30 21:16:31 +00:00
cygwin
defs * defs/known_errors.def: more errors. 2009-11-24 11:06:53 +00:00
doc
enc * enc/trans/newline.trans (fun_so_universal_newline): generate \n 2009-11-22 19:15:55 +00:00
ext * ext/openssl/ossl_ssl.c: initialize @hostname of SSLSocket to avoid 2009-12-02 14:54:50 +00:00
include * include/ruby/ruby.h (rb_bug_errno): declared. 2009-11-24 11:03:51 +00:00
lib * configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): moved from 2009-11-30 07:54:26 +00:00
man
misc
missing
sample
spec
symbian
template * include/ruby/intern.h (rb_strerrno): declared. 2009-11-24 00:26:52 +00:00
test * test/dl/test_callback.rb (**): testing return values of dl callbacks 2009-12-03 03:04:27 +00:00
tool
win32 * configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): moved from 2009-11-30 07:54:26 +00:00
.cvsignore
.document * .document: remove documents not in rdoc format until 2009-11-12 01:26:13 +00:00
.gdbinit
.gitignore
array.c
bignum.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
ChangeLog * ext/openssl/ossl_ssl.c: initialize @hostname of SSLSocket to avoid 2009-12-02 14:54:50 +00:00
class.c * class.c (rb_mod_init_copy): fix memory leak of Class#dup. 2009-11-14 12:56:16 +00:00
common.mk
compar.c
compile.c fix typos. 2009-11-03 17:46:28 +00:00
complex.c fix typos. 2009-11-03 17:46:28 +00:00
configure.in * configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): moved from 2009-11-30 07:54:26 +00:00
cont.c * cont.c (rb_fiber_start): fixed unconditional test. 2009-11-03 23:19:33 +00:00
COPYING
COPYING.ja
debug.c
debug.h
dir.c * dir.c (dir_check): moved other checks from GetDIR. 2009-11-03 23:26:02 +00:00
dln.c * configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): moved from 2009-11-30 07:54:26 +00:00
dln.h
dmydln.c
dmyencoding.c
dmyext.c
encoding.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
enum.c fix typos. 2009-11-03 17:46:28 +00:00
enumerator.c * enumerator.c (yielder_yield_push): Yielder#<< should return self. 2009-11-11 16:32:34 +00:00
error.c * error.c: include errno.h at beginning. 2009-11-24 12:26:06 +00:00
eval.c * vm_insnhelper.c (vm_push_frame): get rid of out-of-bounds 2009-11-07 11:59:16 +00:00
eval_error.c
eval_intern.h
eval_jump.c
file.c * file.c (file_path_convert): fix fs_encoding is not assign. 2009-11-24 01:20:18 +00:00
gc.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
gc.h
gem_prelude.rb * gem_prelude.rb (Gem.set_home): must dup before force_encoding 2009-11-26 11:22:44 +00:00
golf_prelude.rb
goruby.c
GPL
hash.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
ia64.s
id.c
inits.c
insns.def * insns.def (opt_case_dispatch): runtime value cannot be used as 2009-11-17 07:26:26 +00:00
io.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
iseq.c
iseq.h
KNOWNBUGS.rb
LEGAL
lex.c.blt
LGPL
load.c
main.c
Makefile.in
marshal.c * marshal.c (mark_dump_arg): mark str. see also [ruby-dev:39735] 2009-11-25 22:27:44 +00:00
math.c * math.c (math_gamma): fix incorrect comparison expression. 2009-11-18 03:06:32 +00:00
method.h
NEWS
node.h
numeric.c fix typos. 2009-11-03 17:46:28 +00:00
object.c fix typos. 2009-11-03 17:46:28 +00:00
pack.c fix typos. 2009-11-03 17:46:28 +00:00
parse.y * parse.y (dyna_push_gen, dyna_pop_gen): no needs to save both of 2009-12-01 03:01:15 +00:00
prelude.rb
proc.c * vm_insnhelper.c (vm_push_frame): add CHECK_STACK_OVERFLOW. 2009-11-07 02:45:08 +00:00
process.c * process.c (rb_f_exec): fixed rdoc. 2009-11-10 00:01:28 +00:00
random.c * random.c (rb_hash_start): moved from string.c. 2009-11-03 23:50:51 +00:00
range.c
rational.c fix typos. 2009-11-03 17:46:28 +00:00
re.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
README
README.EXT
README.EXT.ja
README.ja
regcomp.c
regenc.c
regenc.h
regerror.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
regexec.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
regint.h
regparse.c
regparse.h
regsyntax.c
ruby.c * encoding.c (enc_set_default_encoding): reset filesytem 2009-11-18 03:38:20 +00:00
safe.c
signal.c * include/ruby/ruby.h (rb_bug_errno): declared. 2009-11-24 11:03:51 +00:00
sprintf.c
st.c * include/ruby/st.h (SIZEOF_ST_INDEX_T): moved from st.c for 2009-11-04 07:06:13 +00:00
strftime.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
string.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
struct.c
thread.c * thread.c (rb_thread_atfork_internal): reinitialize global lock 2009-11-18 09:25:11 +00:00
thread_pthread.c * include/ruby/ruby.h (rb_bug_errno): declared. 2009-11-24 11:03:51 +00:00
thread_pthread.h
thread_win32.c * thread.c (rb_thread_atfork_internal): reinitialize global lock 2009-11-18 09:25:46 +00:00
thread_win32.h
time.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
timev.h
ToDo
transcode.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
transcode_data.h fix typos. 2009-11-03 17:46:28 +00:00
util.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
variable.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
version.c
version.h * 2009-12-02 2009-12-02 14:54:53 +00:00
vm.c * vm.c (ruby_vm_destruct, thread_memsize): fix argument type to make 2009-11-24 13:33:44 +00:00
vm_core.h
vm_dump.c
vm_eval.c * vm_eval.c (check_funcall_failed): pass ID. [ruby-core:26934] 2009-11-29 07:56:25 +00:00
vm_exec.c
vm_exec.h
vm_insnhelper.c * insns.def (opt_case_dispatch): runtime value cannot be used as 2009-11-17 07:26:26 +00:00
vm_insnhelper.h
vm_method.c * removed spaces just before tabs. 2009-11-26 05:25:08 +00:00
vm_opts.h

* 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-like/POSIX compatible platforms
    as well as Windows, Mac OS X, BeOS etc.)
    cf. http://redmine.ruby-lang.org/wiki/ruby-19/SupportedPlatforms


* How to get Ruby

The Ruby distribution files can be found in the following FTP site:

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

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: