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
nobu 60e3b1b441 * file.c (rb_file_s_rename): deleted code to get rid of a bug of
old Cygwin.

* file.c (rb_file_truncate): added prototype of GetLastError()
  on cygwin.  [ruby-dev:31239]

* intern.h (is_ruby_native_thread): prototype.

* missing/strftime.c (strftime): fix printf format and actual
  arguments.

* ext/Win32API/Win32API.c (Win32API_initialize): ditto.

* ext/tk/tcltklib.c (ip_finalize): ditto.

* ext/dl/ptr.c (rb_dlptr_inspect): ditto.  [ruby-dev:31268]

* ext/dl/sym.c (rb_dlsym_inspect): ditto.

* ext/socket/getnameinfo.c: include stdio.h always.

* ext/win32ole/win32ole.c (ole_hresult2msg, folevariable_name,
  folevariable_ole_type, folevariable_ole_type_detail,
  folevariable_value, folemethod_visible): missing return value.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-22 05:33:47 +00:00
bcc32 * bcc32/{Makefile.sub,configure.bat,setup.mak: configure_args 2007-07-21 08:32:34 +00:00
bin
cygwin
djgpp * {bcc32,djgpp,win32,wince}/*.bat: add svn properties to DOSISH batch files. 2006-12-21 07:15:01 +00:00
doc * doc/NEWS-1.8.0: Rename NEWS to NEWS-1.8.0. This is way too old 2007-02-28 09:33:00 +00:00
ext * file.c (rb_file_s_rename): deleted code to get rid of a bug of 2007-07-22 05:33:47 +00:00
lib * lib/mkmf.rb (create_makefile): make OBJS depend on RUBY_EXTCONF_H 2007-07-21 08:07:37 +00:00
misc * misc/ruby-style.el (ruby-style-label-indent): for yacc rules. 2007-05-17 08:02:02 +00:00
missing * file.c (rb_file_s_rename): deleted code to get rid of a bug of 2007-07-22 05:33:47 +00:00
sample * sample: replace TRUE, FALSE with true, false respectively. 2007-04-16 13:51:51 +00:00
test * numeric.c (fix_pow): integer power calculation: 0**n => 0, 2007-07-16 15:56:16 +00:00
vms
win32 * bcc32/{Makefile.sub,configure.bat,setup.mak: configure_args 2007-07-21 08:32:34 +00:00
wince * {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic. 2007-07-21 06:39:26 +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_initialize): should call rb_ary_modify() first. 2007-06-30 07:10:43 +00:00
bignum.c * bignum.c (rb_big_lshift, rb_big_rshift): separated functions 2007-07-19 05:38:48 +00:00
ChangeLog * file.c (rb_file_s_rename): deleted code to get rid of a bug of 2007-07-22 05:33:47 +00:00
class.c * class.c (rb_include_module): remove unnecessary check. 2006-10-06 15:32:09 +00:00
common.mk * common.mk (realclean): separate local and ext. 2007-06-15 13:31:54 +00:00
compar.c
config.guess
config.sub
configure.in * configure.in (darwin): prohibit loading extension libraries to 2007-06-12 21:04:07 +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:49:36 +00:00
dir.c * dir.c (do_stat, do_lstat, do_opendir): should not warn ENOTDIR. 2007-04-24 00:33:09 +00:00
distruby.rb * distruby.rb: Add zip generation. 2007-03-20 07:37:34 +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
dmydln.c
dmyext.c
enum.c * enum.c (sort_by_cmp): check if reentered. [ruby-dev:24291] 2007-07-14 05:04:09 +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 * eval_error.ci (get_backtrace): check the result more. 2007-07-19 10:24:17 +00:00
eval.c * eval_error.ci (get_backtrace): check the result more. 2007-07-19 10:24:17 +00:00
file.c * file.c (rb_file_s_rename): deleted code to get rid of a bug of 2007-07-22 05:33:47 +00:00
gc.c * env.h (SCOPE_CLONE): Introduce a new scope flag to prevent a 2007-03-03 07:28:54 +00:00
GPL
hash.c * hash.c: purged trailing spaces. 2007-06-29 05:15:46 +00:00
ia64.s
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 * file.c (rb_file_s_rename): deleted code to get rid of a bug of 2007-07-22 05:33:47 +00:00
io.c * error.c (rb_notimplement), io.c (pipe_open): removed definite 2007-04-04 15:42:16 +00:00
keywords
LEGAL
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 (w_extended): erroneous check condition when dump 2007-03-20 14:08:05 +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
missing.h * configure.in, dln.c, file.c, intern.h, missing.h (eaccess): use 2006-01-25 13:30:11 +00:00
mkconfig.rb * mkconfig.rb (patchlevel): read from version.h. 2007-02-28 17:05:18 +00:00
NEWS import OpenSSL from trunk 2007-06-08 15:02:04 +00:00
node.h * node.h (struct rb_thread.locals): explicit as struct. 2007-03-24 14:40:08 +00:00
numeric.c * bignum.c (rb_big_lshift, rb_big_rshift): separated functions 2007-07-19 05:38:48 +00:00
object.c * object.c (rb_obj_ivar_set): RDoc updated according to a 2007-03-03 07:07:44 +00:00
pack.c * merge -c 11935 2007-02-28 12:05:06 +00:00
parse.y * parse.y (parser_yylex): return non-valid token for an invalid 2007-06-29 15:17:02 +00:00
prec.c * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
process.c * process.c (ruby_setreuid, ruby_setregid): rename to get rid of name 2007-06-26 07:35:23 +00:00
random.c # the previous commit should include random.c 2007-07-11 14:44:22 +00:00
range.c
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
README Update the distribution information. 2007-02-20 07:37:23 +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:23 +00:00
regex.c * regex.c (calculate_must_string, slow_search, re_search): Silence 2007-02-27 10:38:32 +00:00
regex.h
ruby.1
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
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 Fixed raise Interrupt and Module rdoc 2007-04-26 17:06:54 +00:00
sprintf.c * sprintf.c (rb_f_sprintf): more checks for format argument. 2007-07-15 20:45:55 +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_rindex_m): accept string-like object convertible 2007-07-16 09:29:35 +00:00
struct.c * struct.c (rb_struct_init_copy): disallow changing the size. 2007-07-12 08:03:18 +00:00
time.c * time.c (time_succ): Time#succ should return a time object in the 2007-07-17 23:53:01 +00:00
ToDo
util.c * util.c (ruby_strtod): exponent is radix 10. [ruby-talk:248272] 2007-04-18 01:40:38 +00:00
util.h
variable.c * variable.c (rb_global_entry, rb_f_untrace_var, rb_alias_variable, 2007-06-17 16:12:32 +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/mkmf.rb (init_mkmf): should remove mkmf.log too. 2007-07-21 03:06:50 +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.

  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: