Граф коммитов

65 Коммитов

Автор SHA1 Сообщение Дата
matz c004ecfa1e * math.c (math_erf,math_erfc): new function. [ruby-list:37753]
* eval.c (ruby_finalize): no longer need to turn off $DEBUG in the
  finalizer. (ruby-bugs-ja PR#473)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05 06:40:42 +00:00
matz 062351e6bb * error.c (syserr_initialize): prohibit specifying errno for
subclasses of SystemCallError.  in addition, if initialize is
  called for SystenCallError instance, its class be changed.
  [ruby-dev:20257]

* gc.c (run_final): to protect thread context switch, finalizers
  are wrapped in DEFER_INTS/ENABLE_INTS.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-21 08:48:05 +00:00
nobu 95785964f6 * MANIFEST (ext/aix_mksym.rb): remove obsolete file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-29 00:50:32 +00:00
knu 10a8d5462b * MANIFEST: Belatedly add Test::Unit files. D'oh!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-03-03 15:35:04 +00:00
knu de531fe04c Add mdoc2man.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-20 08:41:26 +00:00
eban a3c545a7bc add djgpp/GNUmakefile
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-01 10:05:46 +00:00
knu e08fca8bc0 Synchronize with reality.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24 17:36:08 +00:00
matz e274c3ab76 * class.c (ins_methods_i): should not show ID_ALLOCATOR.
* class.c (ins_methods_prot_i): ditto.

* class.c (ins_methods_priv_i): ditto.

* class.c (ins_methods_pub_i): ditto.

* eval.c (call_trace_func): ditto.

* eval.c (rb_undefined): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-24 08:02:00 +00:00
knu 9ec0a96ad4 * MANIFEST, lib/README, lib/ipaddr.rb: Add ipaddr.rb from rough.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-23 17:07:49 +00:00
knu c3cd615aa4 * lib/README, lib/cgi/ftplib.rb, lib/telnet.rb: Delete ftplib.rb
and telnet.rb.  It has been quite some time sinc they were
  obsoleted and made to emit warnings.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19 20:08:43 +00:00
knu e34137b5cb Delete final.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-19 20:03:06 +00:00
akr 3a20ed532b * lib/open-uri.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-16 19:06:36 +00:00
matz 232fda5237 WinCE MANIFEST
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-02 15:01:03 +00:00
seki 4de16dfb24 add bin/erb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-20 14:41:05 +00:00
knu c3a31863c5 sample/irb.rb -> bin/irb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-18 17:08:55 +00:00
seki e6251100cc * add ERB
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-17 16:11:40 +00:00
matz a1c02ee495 * math.c (math_acos): check errno after operation. ditto for
asin, acosh, atanh, log, log10 and sqrt.

* eval.c (rb_add_method): initialize should always be private.

* parse.y (expr): add rescue modifier rule.

* parse.y (command_call): return, break and next with argument is
  now part of this rule.

* parse.y (yylex): "a" in "a /5" should be considered as a local
  variable. [experimental]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-14 06:18:59 +00:00
knu 07188bbee2 Update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-27 13:36:11 +00:00
eban 4f26f3b890 * configure.in: modify program_prefix only if specified
--program-prefix.

* configure.in: don't generate ext/extmk.rb.

* Makefile.in: execute directly $(srcdir)/ext/extmk.rb.
  remove -Cext option, "Dir::chdir 'ext'" in ext/extmk.rb.

* {win32,bccwin32}/Makefile.sub: ditto.

* instruby.rb: ditto.

* ext/extmk.rb: renamed from ext/extmk.rb.in.

* lib/mkmf.rb (module Logging): create log files (mkmf.log)
  in each extension module directories.

* ext/extmk.rb: ditto.

* lib/mkmf.rb (macro_defined?): new method.

* ext/.cvsignore: remove extmk.rb.

* ext/*/.cvsignore: add "*.def".


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-08 09:08:15 +00:00
aamine cceff0f4b4 * MANIFEST: add lib/racc/parser.rb.
* ext/racc/cparse/cparse.c: code refine.
* ext/racc/cparse/MANIFEST: add depend.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-05 13:38:49 +00:00
nobu 5fdec7d96b optparse imported
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-23 03:25:18 +00:00
tadf c1f213f4d0 added an entry (lib/date/format.rb).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-19 01:07:41 +00:00
eban ddee6e7c06 * missing.h: add for missing/*.c.
* ruby.h: add `#include "missing.h"'.
* Makefile.in: add the dependency of missing.h by gcc -MM.
* MANIFEST: add missing.h


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-11 19:31:18 +00:00
nobu be5524ae41 /tmp/log
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-12 03:24:52 +00:00
aamine a4428fb019 lib/fileutils.rb added
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 02:06:50 +00:00
eban 51364ab05a * MANIFEST: add missing/fileblocks.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-18 09:26:01 +00:00
matz 997b69cb6a * re.c (rb_reg_match): should clear $~ if operand is nil.
* re.c (rb_reg_match2): ditto.

* configure: merge Jonathan Baker's large file support patch
  [ruby-talk:35316], with read_all patch in [ruby-talk:35470].

* eval.c (rb_f_abort): optional message argument that be printed
  on termination. [new]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-14 06:23:46 +00:00
akr 8b9823a23d * lib/tsort.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-11 14:09:11 +00:00
akira a5ef2da1a1 added uri library (uri-0.9.4)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-01-10 08:06:57 +00:00
akr a2ba32fab9 lib/pp.rb lib/prettyprint.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-24 17:38:33 +00:00
akr 6c8a7c3592 add lib/time.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-12-10 07:25:10 +00:00
knu eaddc4a94b Rename *.jp to *.ja, since jp is a region code and ja is a language
code.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-19 05:44:26 +00:00
aamine 2c85be7df3 sync MANIFEST (add doc/net/http,pop,smtp).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-18 21:34:53 +00:00
knu 5179d34d79 Add LEGAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-13 08:48:56 +00:00
knu cbc3756009 * It is confusing to put the GPL license terms in the file COPYING;
Rename the files COPYING and COPYING.LIB to GPL and LGPL, respectively.

* While I am here, update the LGPL with the "Lesser" one.

* Move the "copying" sections of the files README and README.jp to
  COPYING and COPYING.jp, respectively.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-07-11 19:25:52 +00:00
eban 9307e0402b * MANIFEST: add doc/NEWS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-06-04 06:21:02 +00:00
knu a5d64434dd Synchronize MANIFEST with reality. Add missing files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-26 03:38:39 +00:00
usa 32513e9dce * MANIFEST: add win32/dir.h .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-25 22:06:26 +00:00
knu 10f407b84b * MANIFEST: update the entries I forgot to add or remove.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-24 16:49:08 +00:00
matz e502549be1 * io.c (argf_seek_m): wrong calling sequence of rb_io_seek().
* parse.y (cond0): no special treatment of string literal in
  condition.

* math.c: add acos, asin, atan, conh, sinh, tanh and hypot to Math.

* configure.in: check hypot availablility.

* missing/hypot.c: public domain rewrite of hypot.

* parse.y (warn_unless_e_option): warning condition was wrong.

* parse.y (warning_unless_e_option): ditto.

* enum.c (enum_all): new method 'all?', which returns true if
  block returns true for all elements.

* enum.c (enum_any): new method 'any?', which returns true if
  block retruns true for any of elements.

* marshal.c (marshal_load): do not give warning unless explicitly
  set to verbose.

* eval.c (rb_exit): give string value "exit" to SystemExit.

* ruby.c (proc_options): -v should not print version if
  proc_options called via moreswitches().

* parse.y (stmt): while/until modifier must work for empty body.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-13 05:45:13 +00:00
matz a36e0c78c9 * parse.y (primary): rescue and ensure clauses should be allowed
to appear in singleton method body.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-03-06 08:17:54 +00:00
matz ed520cf6e9 * parse.y (parse_quotedwords): %w should allow parenthesis escape.
* parse.y (parse_qstring): %q should allow terminator escape.

* re.c (rb_reg_options): new method to give an option values.

* parse.y (cond0): disable special treating of integer literal in
  conditional unless option -e is supplied.  changes current
  behavior.  experimental.

* parse.y (cond0): give warning for string/integer literals and
  dot operators in conditionals unless option -e is supplied.

* re.c (rb_reg_equal): all option flags should be same to be equal.

* error.c (Init_Exception): make Interrupt a subclass of
  SignalException.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-08 09:19:27 +00:00
matz 8353f303e3 matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-10-16 09:13:20 +00:00
matz 0ccc0fad33 000831
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-31 07:27:15 +00:00
eban bc90f95def eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-09 00:32:03 +00:00
matz 5222760bc4 matz - nakada win32 patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-03 09:50:41 +00:00
eban 0d8f03a2c2 2000-06-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-06-24 16:53:31 +00:00
eban e551412777 2000-06-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-06-24 14:06:35 +00:00
matz 9da4f78db4 2000-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-12 09:07:57 +00:00
matz fedf48986d 2000-05-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-05-01 09:42:38 +00:00