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
ser 61fec2d310 r1278@bean: ser | 2007-06-07 00:53:06 -0400
Fixed a double-encoding bug.  This was a regression, related
  to ticket:48.
  r1292@bean:  ser | 2007-07-25 08:19:36 -0400
   r1279@bean:  ser | 2007-06-09 23:19:02 -0400
   Fixes ticket:89 -- encoding CP-1252 was broken.  ISO-8859-15 had the same
   problem.
   
   Also in this patch is a fix to merge.rb (unused, but it should at least
   contain no errors), and a unit test for ticket:88.
  
  r1293@bean:  ser | 2007-07-25 08:19:37 -0400
   r1281@bean:  ser | 2007-07-24 11:08:48 -0400
   Addresses ticket:85
   
   This is a major rewrite of the XML formatting code.  The XML writers have all
   been extracted out of the classes and put into their own class containers.
   This makes writing parsers easier, and cleaner.
   
   There are three formatters, which correspond to the previous three XML writing
   modes:
   
     REXML::Formatters::Default    
         Prints the XML document exactly as it was parsed
     REXML::Formatters::Pretty     
         Pretty prints the XML document, destroying whitespace in the document
     REXML::Formatters::Transitive 
         Pretty prints the XML document, preserving whitespace
   
   All of the write() functions have been deprecated (some are still used, but
   these will also go away) except the write() function on Document, which is left
   for convenience.  To pretty print an XML document the canonical way:
   
     formatter = REXML::Formatters::Pretty.new( 5 ) # indent by 5 spaces
     formatter.write( document, output )
   
  r1296@bean:  ser | 2007-07-25 08:19:40 -0400
   r1287@bean:  ser | 2007-07-24 20:12:25 -0400
   Applied patch from Jeff Barczewski.  Note that this changes what the values of
   the name and IDs are from the previous behavior -- the values no longer include
   the quotes.  This is the correct behavior, so I'm leaving it in, but it is not
   backwards compatible.  Also fixes the serializer so that it outputs the doctype
   in a correct format (needed as a result of this change).
  
  r1297@bean:  ser | 2007-07-25 08:38:38 -0400
  Version update
  r1298@bean:  ser | 2007-07-25 08:40:30 -0400
   r1291@bean (orig r12517):  ryan | 2007-06-11 20:38:57 -0400
   Fixed typo in code. Fixes bug #10420
  
 
 r1304@bean:  ser | 2007-07-27 22:34:18 -0400
 Whitespace changes only


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-28 02:46:08 +00:00
bcc32 * instruby.rb, mkconfig.rb, rubytest.rb, bcc32/mkexports.rb, win32/{resource,mkexports}.rb: set executable. 2006-12-21 15:48:01 +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 Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +00:00
ext * intern.h, ext/thread/thread.c: moved prototype of rb_thread_status() 2007-06-18 02:28:11 +00:00
lib r1278@bean: ser | 2007-06-07 00:53:06 -0400 2007-07-28 02:46:08 +00:00
misc * misc/README: Add a note about ruby-electric.el. 2007-03-11 10:05:02 +00:00
missing Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +00:00
sample * sample/openssl/c_rehash.rb: Use digest/md5 instead of obsolete md5. 2006-10-05 19:31:50 +00:00
test * test/ruby/test_beginendblock.rb (test_should_propagate_signaled): 2007-06-14 15:04:27 +00:00
vms
win32 * win32/win32.c (rb_w32_opendir): store attributes of the second 2007-06-08 08:36:44 +00:00
wince * {bcc32,djgpp,win32,wince}/*.bat: add svn properties to DOSISH batch files. 2006-12-21 07:15:01 +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_shift): shorten copy size. fixed: [ruby-list:42907] 2006-10-18 13:57:43 +00:00
bignum.c merge -c 12224 2007-05-22 20:37:49 +00:00
ChangeLog * intern.h, ext/thread/thread.c: moved prototype of rb_thread_status() 2007-06-18 02:28:11 +00:00
class.c * class.c (rb_include_module): remove unnecessary check. 2006-10-06 15:32:09 +00:00
common.mk Merge changes between r11913 and r11943 from ruby_1_8. 2007-02-28 13:23:42 +00:00
compar.c
config.guess
config.sub
configure.in merge -c 12190 2007-05-22 18:19:07 +00:00
COPYING
COPYING.ja
defines.h * defines.h: Pull the RUBY_MBCHAR_MAXSIZE definition from trunk, 2007-02-24 17:52:08 +00:00
dir.c merge -c 12210 2007-05-22 19:22:14 +00:00
distruby.rb * distruby.rb: Add zip generation. 2007-03-20 07:37:34 +00:00
dln.c
dln.h
dmydln.c
dmyext.c
enum.c
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 -r 12143:12147 2007-05-22 16:28:10 +00:00
eval.c * eval.c (rb_thread_cancel_timer): fix undefined function 2007-06-08 09:33:59 +00:00
file.c merge -c 12127 2007-05-22 15:01:22 +00:00
gc.c * env.h (SCOPE_CLONE): Introduce a new scope flag to prevent a 2007-03-03 07:30:46 +00:00
GPL
hash.c * hash.c: added documentation for Hash about how it uses eql? and 2007-01-23 09:34:04 +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 * intern.h, ext/thread/thread.c: moved prototype of rb_thread_status() 2007-06-18 02:28:11 +00:00
io.c merge -r 12143:12147 2007-05-22 16:28:10 +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
math.c
mdoc2man.rb
missing.h
mkconfig.rb * mkconfig.rb (patchlevel): read from version.h. 2007-02-28 19:10:44 +00:00
NEWS Merge changes from ruby_1_8: 2007-03-06 10:12:12 +00:00
node.h merge -c 12127 2007-05-22 15:01:22 +00:00
numeric.c * numeric.c (fix_cmp, fix_equal): Remove FIX2LONG() to optimize. 2007-02-23 04:24:16 +00:00
object.c * object.c (rb_obj_ivar_set): RDoc updated according to a 2007-03-03 07:09:24 +00:00
pack.c * merge -c 11935 2007-02-28 12:05:21 +00:00
parse.y * env.h (SCOPE_CLONE): Introduce a new scope flag to prevent a 2007-03-03 07:30:46 +00:00
prec.c
process.c * process.c (proc_exec_v): terminate timer thread in advance. 2007-05-22 22:32:16 +00:00
random.c * random.c (rb_f_rand): RDoc typo fix. a patch from Frederick 2006-09-24 23:14:14 +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:34 +00:00
README.EXT * README.EXT: English adjustment. [ruby-core:08855] 2006-09-13 14:45:21 +00:00
README.EXT.ja
README.ja Update the distribution information. 2007-02-20 07:37:34 +00:00
regex.c Merge changes between r11871 and r11907 from ruby_1_8. 2007-02-27 11:51:55 +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
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 * runruby.rb: eliminate uninitialized variable. 2007-05-26 20:35:44 +00:00
signal.c * eval.c (error_handle): no message when exiting by signal. 2007-03-11 08:31:53 +00:00
sprintf.c * sprintf.c (rb_f_sprintf): need not to truncate string if no 2006-11-27 08:20:41 +00:00
st.c
st.h
string.c * string.c (rb_str_sub_bang): calling rb_str_modify() should be just 2007-01-30 06:04:37 +00:00
struct.c
time.c Merge changes from ruby_1_8: 2007-03-06 10:12:12 +00:00
ToDo
util.c merge -c 12192 2007-05-22 18:25:13 +00:00
util.h
variable.c * variable.c (rb_define_const): typo fixed. 2006-12-11 02:49:37 +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 patchlevel 39 2007-06-20 07:41:20 +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: