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
wyhaines 13e40bdaa0 lib/monitor.rb: Backport #2240 [ruby-core:26185]; backport r25420 to ensure that the scheduled thread is alive when a monitor is released.
test/monitor/test_monitor.rb: Backport #2240 [ruby-core:26185]; added a test for the above functionality.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-08 16:35:10 +00:00
bcc32 merge revision(s) 13694: 2008-06-07 16:32:17 +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 Backport #484 [ruby-core:18377]; Make OpenSSL::Config freeze correctly, preventing further config changes. 2010-05-24 18:39:36 +00:00
lib lib/monitor.rb: Backport #2240 [ruby-core:26185]; backport r25420 to ensure that the scheduled thread is alive when a monitor is released. 2010-06-08 16:35:10 +00:00
misc merge revision(s) 15790: 2008-06-15 11:28:08 +00:00
missing merge revision(s) 14222:14225: 2008-06-07 20:27:52 +00:00
sample * sample/test.rb, test/ruby/test_system.rb(valid_syntax?): keep 2007-09-07 06:41:17 +00:00
test lib/monitor.rb: Backport #2240 [ruby-core:26185]; backport r25420 to ensure that the scheduled thread is alive when a monitor is released. 2010-06-08 16:35:10 +00:00
vms
win32 merge revision(s) 21447: 2009-02-25 05:56:46 +00:00
wince * {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic. 2007-08-22 02:24:22 +00:00
x68
.cvsignore * .cvsignore: ignore timestamp files and installed list file. 2006-09-21 17:06:50 +00:00
.document
array.c merge revision(s) 20103: 2009-02-04 23:55:01 +00:00
bignum.c Fixes to bignum/numeric so that infinity is always greater than any num. 2009-07-14 15:05:27 +00:00
ChangeLog lib/monitor.rb: Backport #2240 [ruby-core:26185]; backport r25420 to ensure that the scheduled thread is alive when a monitor is released. 2010-06-08 16:35:10 +00:00
class.c merge revision(s) 18485: 2009-01-16 01:58:45 +00:00
common.mk merge revision(s) 18211: 2008-08-04 04:52:05 +00:00
compar.c
config.guess
config.sub
configure.in Added --disable-ucontext, to be used with --enable-pthreads, to improve performance when built with pthread support by eliminating the oodles of sigprocmask calls that otherwise occur. 2010-05-24 17:18:03 +00:00
COPYING * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
COPYING.ja
defines.h merge revision(s) 16420,16454: 2008-06-15 14:06:16 +00:00
dir.c merge revision(s) 20072: 2009-02-04 05:26:31 +00:00
distruby.rb * distruby.rb: Add zip generation. 2007-03-20 07:37:34 +00:00
dln.c eval.c: Backport #2592 [ruby-core:27525]; Added an ifndef for WIN32 so that F_GETFD isn't used on that platform. Fixes a build issue. 2010-01-20 20:19:36 +00:00
dln.h
dmydln.c
dmyext.c
enum.c Documentation typo 2006-06-15 01:24:40 +00:00
env.h * env.h (SCOPE_CLONE): Introduce a new scope flag to prevent a 2007-03-03 07:30:46 +00:00
error.c merge revision(s) 17833:17837: 2008-08-04 03:16:55 +00:00
eval.c eval.c: Backport #2202 [ruby-core:26074]; backport of r25359, which modifies rb_clear_cache_for_undef to clear entries for inherited methods. 2010-06-08 11:45:41 +00:00
file.c Fix for backport #1168 -- wrong result of File.extname for a path that contains a space before the extension. 2009-08-25 18:37:21 +00:00
gc.c backport r24713 which adds a check for freelist exhaustion in gc_sweep; this prevents segfaults from certain tight loops. An example test case: Time.now while true 2009-11-20 05:33:12 +00:00
GPL
hash.c * hash.c (rb_hash_delete_key): delete the entry without calling block. 2007-08-22 03:42:36 +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
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 merge revision(s) 19078,20097: 2009-01-22 06:18:48 +00:00
io.c Backport #776 [ruby-core:20043]; Added an #ifdef _WIN32 to rb_io_flush in io.c to fsync on windows to ensure that a flush took place. 2010-05-24 19:08:08 +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 merge revision(s) 13515: 2008-06-04 07:41:47 +00:00
marshal.c merge revision(s) 19653: 2009-01-28 11:59:58 +00:00
math.c merge revision(s) 17644: 2008-07-02 09:25:48 +00:00
mdoc2man.rb
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 revision(s) 13695: 2008-06-07 16:37:10 +00:00
NEWS Merge changes from ruby_1_8: 2007-03-06 10:12:12 +00:00
node.h Pendantic change to remove surplus comma. 2009-07-09 18:16:38 +00:00
numeric.c Fixes to bignum/numeric so that infinity is always greater than any num. 2009-07-14 15:05:27 +00:00
object.c merge revision(s) 17396: 2008-06-18 06:21:30 +00:00
pack.c merge revision(s) 20581: 2009-02-19 09:01:35 +00:00
parse.y merge revision(s) 21688: 2009-03-08 23:54:13 +00:00
prec.c * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
process.c Syntax change and dead code cleanup to help resolve some build issues on certain platforms. 2010-02-04 22:30:33 +00:00
random.c merge revision(s) 18509: 2009-01-17 03:15:36 +00:00
range.c * range.c (range_step): fixed integer overflow. [ruby-dev:31763] 2007-09-16 19:38:27 +00:00
re.c merge revision(s) 21997: 2009-03-09 01:01:46 +00:00
re.h Backport #1875 [ruby-core:24735]; (RMATCH_REGS): added for compatibility. 2010-01-27 14:58:36 +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 regexp.c: Backport #3403; backported from r28192 to fix a bug with non-greedy matching. 2010-06-08 14:52:18 +00:00
regex.h
ruby.1 * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::wrap): removed 2006-03-11 08:27:43 +00:00
ruby.c merge revision(s) 17849: 2008-07-10 09:36:08 +00:00
ruby.h Backport #1875 [ruby-core:24735]; (RMATCH_REGS): added for compatibility. 2010-01-27 14:58:36 +00:00
rubyio.h * rubyio.h (rb_io_set_nonblock): declared. 2006-05-22 08:38:37 +00:00
rubysig.h merge revision(s) 18316,18319: 2009-01-05 02:13:40 +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: fix incomplete backport r12339. 2007-09-16 20:10:52 +00:00
signal.c Bug #911 [ruby-core:20723]; This bug, and occasional ArgumentError in Resolv#resolv, was caused by a resolution timeout. 2010-05-26 17:27:17 +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 merge revision(s) 20354: 2009-02-17 02:58:28 +00:00
struct.c merge revision(s) 16307: 2008-06-15 13:44:44 +00:00
time.c merge revision(s) 19742: 2009-02-02 11:03:25 +00:00
ToDo
util.c Backport #2392 [ruby-core:26868]; backport of r23353 which suppresses a strict-aliasing warning in gcc-4.4.x -O2. 2010-06-03 22:58:28 +00:00
util.h * ext/readline/readline.c (readline_readline): type check. 2005-10-30 18:20:54 +00:00
variable.c merge revision(s) 19710: 2009-02-02 02:34:12 +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 lib/monitor.rb: Backport #2240 [ruby-core:26185]; backport r25420 to ensure that the scheduled thread is alive when a monitor is released. 2010-06-08 16:35:10 +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: