nobu
51c8d62bff
* ext/iconv/iconv.c (iconv_s_list): return encoding list if no block
...
is given. [ruby-dev:23063]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 09:22:04 +00:00
matz
df84c64be9
* pack.c (pack_pack): use NUM2INT() instead of num2i32().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 06:30:15 +00:00
kou
8dfa6fb0a8
* lib/rss/parser.rb, lib/rss/1.0.rb: accepted rdf:resource or
...
resource attribute in rdf:li.
* test/rss/test_parser.rb: added test for above change.
* lib/rss/dublincore.rb: reverted style.
* lib/rss/xmlparser.rb: normalized XMLParser class hierarchy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 03:36:38 +00:00
matz
4ded52b623
* file.c (rb_get_path): get path string via "to_path" method if
...
path object is not a string. [Ruby2]
* gc.c (rb_gc_call_finalizer_at_exit): do not free threads in the
exit finalizers.
* io.c (rb_io_reopen): should use rb_io_check_io().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 02:51:05 +00:00
nobu
43db576e61
* Makefile.in, common.mk, */Makefile.sub (ext/extinit.o): OUTFLAG
...
doesn't work for object files on VC.
* */Makefile.sub (config.h): need SIZEOF_TIME_T now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 01:43:27 +00:00
seki
3d359cecd8
fix hash tuple bug
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 15:26:25 +00:00
akr
383964bc30
* configure.in: check the size of time_t.
...
* time.c (time_add): new function.
(time_plus): use time_add.
(time_minus): use time_add.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 07:48:38 +00:00
usa
3f56949401
* ext/socket/socket.c (raise_socket_error): never return.
...
* ext/socket/socket.c (make_hostent): must return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 04:13:24 +00:00
matz
ce44928d2b
* error.c (Init_Exception): remove Exception#to_str. [Ruby2]
...
* eval.c (error_print): should no call "to_str" anymore use
"message" method instead.
* io.c (rb_f_open): Kernel#open() calls "to_open" if the first
argument responds to it. [Ruby2]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 15:55:09 +00:00
seki
cded3d5c93
add require "drb/drb"
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 15:14:20 +00:00
akr
2f8c9ce629
* test/zlib/test_zlib.rb: new file.
...
(TestZlibGzipWriter#test_new_nil): test for [ruby-dev:23228].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 13:27:45 +00:00
aamine
e5af80c697
* parse.y (assoc_list): {a: 1, b: 2} should be allowed. [ruby-dev:23328]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 13:16:40 +00:00
ksaito
d0dec9337b
* regexec.c: imported Oni Guruma 2.2.6.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 10:44:44 +00:00
ksaito
62a7fde33b
* regparse.c, oniguruma.h: imported Oni Guruma 2.2.6.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 10:40:54 +00:00
usa
5acb4437c7
* ext/socket/socket.c (raise_socket_error): some platforms don't have
...
EAI_SYSTEM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 03:14:05 +00:00
akr
2ca96a332b
fix reference to ML: [ruby-dev:39475] to [ruby-list:39475].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 01:33:45 +00:00
dave
f02159637a
Remove leading ./ from filenames so that cross references work OK
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 23:19:58 +00:00
dave
440c26186c
Allow multiple --exclude options to RDoc
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 05:03:00 +00:00
why
08cd3453b2
* ext/syck/syck.h: version 0.43.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-03 00:35:06 +00:00
why
28b79f3957
* ext/syck/lib/gram.c: allow root-level inline collections.
...
[ruby-talk:94922]
* lib/yaml/rubytypes.rb (Symbol#to_yaml): emit symbols as implicits.
[ruby-talk:94930]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 23:31:14 +00:00
nobu
6ebad07ea1
* bcc32/Makefile.sub (OUTFLAG): needed for static-linked-ext.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 10:28:53 +00:00
nobu
5c51ccc35c
* ext/extmk.rb (extmake): extract necessary variables for static link
...
from Makefile.
* lib/mkmf.rb (create_makefile): save preload and libpath for next
compile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 09:00:12 +00:00
matz
c0ab40c785
* eval.c (top_include): include in the wrapped load is done for
...
the wrapper, not for a singleton class for wrapped main.
[ruby-dev:23305]
* bignum.c (rb_big_eq): use temporary double variable to save the
result (internal float register may be bigger than 64 bits, for
example, 80 bits on x86). [ruby-dev:23311]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 08:35:32 +00:00
matz
6c70639e7b
* eval.c (block_pass): should increment unique identifier of the
...
block. [ruby-talk:96363]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 05:38:07 +00:00
aamine
6dcbfbc525
* eval.c (Init_load): make $LOADED_FEATURES built-in. [ruby-dev:23299]
...
* ruby.c (ruby_prog_init): make $PROGRAM_NAME built-in.
* lib/English.rb: remove $LOADED_FEATURES and $PROGRAM_NAME.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 02:36:48 +00:00
matz
b7552a5535
* ext/socket/socket.c: mistakingly removed do_not_reverse_lookup.
...
[ruby-dev:39475]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 02:15:25 +00:00
dave
ef38efca9f
Fix parse bug with toplevel methods. Allow RDoc in =begin rdoc/=end comments (experimental)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 01:20:58 +00:00
matz
64ec09d456
* ext/socket/socket.c (make_hostent): fix memory leak, based on
...
the patch from HORIKAWA Hisashi <vzw00011@nifty.ne.jp>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-01 23:13:39 +00:00
nahi
b37f4923e5
* lib/soap/mapping/{factory.rb,registry.rb}: fixed illegal mapped URI
...
object with soap/marshal.
added URIFactory class for URI mapping. BasetypeFactory checks
instance_variables when original mapping is not allowed (ivar must
be empty). Instance of URI have instance_variables but it must be
llowed whenever original mapping is allowed or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-01 10:58:17 +00:00
akr
9bf44e389e
* time.c (year_leap_p): new function.
...
(timegm_noleapsecond): ditto.
(search_time_t): use timegm_noleapsecond instead of
mktime for first guess.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 10:27:58 +00:00
nobu
111d2ad8c5
* intern.h: provide proper prototypes. [ruby-core:02724]
...
* ruby.h: missing.h is now prerequisite to intern.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 03:05:22 +00:00
matz
189febdf24
* pack.c (pack_pack): raises RangeError if uv is out of UTF8 value
...
range. [ruby-dev:23281]
* io.c (rb_io_binmode): stdio buffer should be empty when calling
IO#binmode. [ruby-talk:96155]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 02:59:57 +00:00
nobu
d3bb9ea112
* lib/delegate.rb (DelegateClass): define internal methods of the
...
result class, but not metaclass of the caller.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 02:52:44 +00:00
akr
85000ef0be
* time.c (search_time_t): limit guess range by mktime if it is
...
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-30 11:41:39 +00:00
akr
7bb7e17675
* time.c (search_time_t): limit guess range by mktime if it is
...
availabe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-30 11:31:44 +00:00
nobu
058fd11019
* eval.c (rb_eval): fix SEGV at retry in iterator's receiver.
...
[ruby-dev:23227]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-30 09:19:06 +00:00
nobu
846f087a07
* process.c (rb_exec): follow older behavior if close-on-exec is not
...
available.
* process.c (rb_fork): protect from exceptions while waiting failed
process, if status is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-29 11:17:21 +00:00
nobu
47f86aae0a
* cygwin/GNUmakefile.in (clean-local, distclean-local): remove
...
work files.
* win32/Makefile.sub (clean-local): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 07:25:42 +00:00
aamine
b81df5d837
* lib/net/pop.rb: def m( arg ) -> def m(arg).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 05:23:13 +00:00
aamine
111b11703d
* lib/net/pop.rb (auth): failed when account/password include "%". [ruby-talk:95933]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 05:09:26 +00:00
akr
c451c56b10
* (lib/open-uri.rb): permit extra semicolon in content-type field.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-27 12:43:02 +00:00
akr
4d664a098d
* (lib/pp.rb, lib/prettyprint.rb): define seplist in PP::PPMethods
...
instead of PrettyPrint.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-27 01:46:05 +00:00
nahi
223d1cb77b
* lib/logger.rb: trim tail space of each line. no user visible change.
...
* lib/rss/dublincore.rb: fixed class definition mismatch.
* sample/openssl/gen_csr.rb: fixed wrong usage text.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-26 16:47:16 +00:00
dave
4cdf253e4d
Add --version option to ri
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 14:19:22 +00:00
shigek
aa9d57c873
Bug in + and - reported by Bret Jolly fixed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 12:50:21 +00:00
nobu
ec37ab2efe
* version.c (ruby_show_copyright): obtain copyright year from
...
RUBY_RELEASE_YEAR.
* win32/resource.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 12:01:41 +00:00
nobu
b47d416046
* win32/resource.rb: default rubyw icon to ruby.ico, and let DLL also
...
include them.
* win32/resource.rb: include winver.h for older WindowsCE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 10:37:39 +00:00
nobu
3b79d34d99
* common.mk, */Makefile.sub (lib, dll): phony targets.
...
* configure.in (ruby, miniruby): ditto.
* cygwin/GNUmakefile.in (rubyw): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 05:01:15 +00:00
dave
e147632bff
Add the --list-names option
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 19:17:42 +00:00
dave
16040850af
Must now use "::" to separate nested classes. This fixes bug where "ri Kernel.Array" was looking for a class called Array
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 18:59:27 +00:00
dave
154c29be3a
Get --one-page working with C code
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 17:01:11 +00:00
gsinclair
42ad5216ec
* lib/uri.rb: Documented (thanks Dmitry V. Sabanin).
...
* lib/uri/common.rb: Ditto.
* lib/uri/ftp.rb: Ditto.
* lib/uri/generic.rb: Ditto.
* lib/uri/http.rb: Ditto.
* lib/uri/https.rb: Ditto.
* lib/uri/ldap.rb: Ditto.
* lib/uri/mailto.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 11:53:31 +00:00
nobu
5e23ff603f
* lib/mkmf.rb ($ruby, $topdir, $hdrdir): should not be affected by
...
DESTDIR after installed.
* lib/mkmf.rb (dummy_makefile): default file lists to be cleaned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 09:48:09 +00:00
dave
91faa496b3
Don't be as eager to invent classes to document
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 03:35:24 +00:00
dave
fdef713db1
Allow templates to be specified outside the RDoc tree
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 02:14:19 +00:00
dave
124a20d3d2
Allow templates to be specified outside the RDoc tree
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 02:14:18 +00:00
matz
a43eeaef75
* lib/tempfile.rb (Tempfile::_close): should not clear @tmpname
...
until the file is really removed. [ruby-core:02684]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 01:08:20 +00:00
matz
4f0ef242cc
* object.c (rb_mod_cvar_get): new method Module#class_variable_get.
...
* object.c (rb_mod_cvar_set): ditto (Module#class_variable_set).
* eval.c (rb_thread_atfork): 1.9 warns no more for thread
termination. [ruby-dev:23212]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 19:14:16 +00:00
nobu
9356e8d177
* bcc32/Makefile.sub: needs bcc32/mkexports.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 05:46:14 +00:00
nobu
52a67fe60d
* Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):
...
separate files under directories due to directory separator.
* */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be
removed.
* win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit
rules.
* cygwin/GNUmakefile.in: some mingw stuffs were missed.
* lib/mkmf.rb (create_makefile): Borland make wrongly removes braces
from command lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 05:32:01 +00:00
nobu
71f46f0724
* Makefile.in, */Makefile.sub, common.mk: extract common portions.
...
* Makefile.in, cygwin/GNUmakefile.in, */Makefile.sub (RBCONFIG):
separated time stamp file for rbconfig.rb.
* configure.in: append common.mk to Makefile.
* mkconfig.rb: keep mtime of rbconfig.rb if unchanged.
* win32/rm.bat: remove multiple files.
* wince/mkconfig_wce.rb: use fake.rb instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 23:21:31 +00:00
gotoyuzo
48dde6f3e6
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#virtual_host):
...
sort @virtual_hosts in address, port, host order.
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
hostname should not be match if :ServerAlias is not given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 13:17:24 +00:00
keiju
06d1cbb926
* lib/shell/*: bug fix for Shell#system(command_line_string).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 12:21:11 +00:00
eban
b9c8bcafdc
* ruby.1: add -width option to .Bl for old groff.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 12:08:02 +00:00
kou
abe876ed4e
* test/rss/*: Test::Unit::TestCase -> RSS::TestCase and
...
Test::Unit::Assertions -> RSS::Assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 10:03:17 +00:00
kou
cfbe158fae
* lib/rss/{rss,dublincore,syndication}.rb: handled W3CDTF correctly.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 09:54:07 +00:00
kou
7ead69e5b3
* test/rss/test_xml-stylesheet.rb: added tests for xml-stylesheet.
...
* lib/rss/xml-stylesheet.rb: added xml-stylesheet parsing
function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 09:20:47 +00:00
matz
aab1ba1365
* eval.c (rb_require_safe): preserve old ruby_errinfo.
...
[ruby-talk:95409]
* eval.c (rb_f_raise): should not clear backtrace information if
exception object already have one.
* parse.y (assoc_list): allow {sym: val} style Hash. [Ruby2]
this change is done by Nobuyoshi Nakada <nobu@ruby-lang.org>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 16:45:41 +00:00
eban
38fc76574a
* ext/extmk.rb: rm -rf $extout, not extout.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 12:22:48 +00:00
dave
a42fb7a811
Force RDoc html background to white
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 06:26:57 +00:00
tadf
f2d983cb8d
synchronized with date2 3.6.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 00:48:19 +00:00
matz
610b5d7975
* variable.c (rb_cvar_set): class variables become private to the
...
particular class/module. [Ruby2]
* variable.c (rb_cvar_get): ditto.
* io.c (rb_io_sync): need not to check writable. [ruby-core:02674]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-19 07:13:01 +00:00
usa
5af30c19a4
* lib/mkmf.rb ($beos, $solaris): add OS flags.
...
* lib/mkmf.rb (RUBY): / is not recognized as path separator on
nmake/bmake. [ruby-list:39388]
* lib/mkmf.rb (CLEANLIBS, CLEANOBJS): should remove *.exp with *.so.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-19 02:35:27 +00:00
eban
006e8d2e71
* instruby.rb, rubytest.rb: do not depend on srcdir.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 10:49:20 +00:00
matz
c223709c3b
* eval.c (proc_eq): avoid false positive by using scope and
...
dyna_vars. no longer use frame.uniq.
* eval.c (proc_arity): arity is now defined as number of
parameters that would not be ignored. i.e. Proc.new{}.arity
returns zero. update test suites too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 10:09:43 +00:00
nobu
311fdfdfea
* mkconfig.rb: no longer embed srcdir and compile_dir into
...
rbconfig.rb.
* ext/extmk.rb, lib/mkmf.rb: obtain top_srcdir and topdir from library
paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 09:50:14 +00:00
seki
29696a1738
stop undef DRbObject#to_a
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 08:48:37 +00:00
matz
bfb47068b0
* eval.c: remove specialized version of rb_Array(). use simple
...
one defined in object.c.
* object.c (Init_Object): remove Kernel#to_a.
* enum.c (enum_zip): use "to_a" instead of "to_ary".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 06:59:04 +00:00
matz
ab6963043d
* error.c (exc_initialize): calling 'to_str' each time just for
...
type checking is too heavy. [ruby-core:02661]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 23:03:17 +00:00
ksaito
dbfe25c939
* oniguruma.h, regparse.c: imported Oniguruma 2.2.5.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 15:25:28 +00:00
ocean
e1124ffa21
Fix ChangeLog
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 04:12:50 +00:00
ocean
3210044a2b
Fix ChangeLog
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 02:32:32 +00:00
ocean
bbe76ca313
Fix ChangeLog
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 02:29:49 +00:00
ocean
7307c01906
* dir.c (fnmatch_helper): File.fnmatch('\.', '.') should return true.
...
(Rev1.112 lost compatiblity)
* dir.c (fnmatch_helper): File.fnmatch('\/', '/', File::FNM_PATHNAME)
should return true. (Rev1.112 lost compatiblity)
* dir.c (fnmatch): '**/' shouldn't match leading period unless
File::FNM_DOTMATCH is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 02:24:47 +00:00
matz
2fab242f66
* eval.c (rb_yield_0): should not re-submit TAG_BREAK if this
...
yield is not break destination. [ruby-dev:23197]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-15 02:27:29 +00:00
gotoyuzo
5bf9610130
* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder):
...
add do_not_reverse_lookup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-15 01:14:51 +00:00
nobu
2baa02ec9b
* eval.c (rb_thread_raise): err at unstarted thread. (PR#1302)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-14 13:07:42 +00:00
seki
c12e0136dc
use druby://localhost:0, [ruby-dev:23078]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-13 05:58:00 +00:00
ocean
c6e5374aae
* dir.c (fnmatch):
...
directory recursion '**/' can be used with File::FNM_PATHNAME.
[ruby-dev:22901]
* dir.c (fnmatch_helper):
only '/' is accepted as path separator even in DOSISH environment.
[ruby-dev:22974] [ruby-list:39337]
* dir.c (fnmatch_helper):
faster '*' matching.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-12 15:00:39 +00:00
nobu
21410f4dfe
* configure.in (rb_cv_noreturn): default for platforms not support
...
prototypes.
* ruby.c (ruby_init_loadpath): buffer for path name should have
MAXPATHLEN.
* lib/mkmf.rb (configuration): include topdir and hdrdir in VPATH.
* lib/mkmf.rb (create_makefile): default dependency rule.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-12 11:19:22 +00:00
gotoyuzo
0d8a0904d9
* lib/webrick/config.rb (WEBrick::Config::General): add
...
:DoNotReverseLookup.
* lib/webrick/server.rb (WEBrick::GenericServer#accept): call
do_not_reverse_lookup for each socket if :DoNotReverseLookup
is set. [ruby-code:02357]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-11 22:36:11 +00:00
aamine
fb9d31c327
* lib/fileutils.rb (remove_dir): should handle symlink correctly. This patch is contributed by Christian Loew. [ruby-talk:94635]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-10 13:26:38 +00:00
matz
8818447867
* eval.c (return_jump): set return value to the return
...
destination. separated from localjump_destination().
* eval.c (break_jump): break innermost loop (or thread or proc).
* eval.c (rb_yield_0): set exit_value for block break.
* eval.c (eval): Only print backtrace if generating the backtrace
doesn't generate an exception. [ruby-core:02621]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-10 07:32:37 +00:00
matz
7c097dc891
* struct.c (rb_struct_s_def): Struct::new executes block with
...
generated struct class. [ruby-talk:02606]
* io.c (rb_io_ungetc): raise IOError instead of calling
rb_sys_fail(). [ruby-talk:23181]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-10 07:05:19 +00:00
usa
f2b4e71013
* ruby.c (opt_W_getter): get rid of warning.
...
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
fixed dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-10 01:17:12 +00:00
usa
8829aa4995
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
...
replaced regex.c entry with Oniguruma files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-09 01:05:12 +00:00
ksaito
e51bf1c605
* Makefile.in: replaced regex.c entry with Oniguruma files.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 16:22:56 +00:00
aamine
2cb1399c8f
* lib/net/http.rb: HTTPHeader did not initialized correctly.
...
* lib/net/http.rb (connect): does same debug output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 14:16:21 +00:00
aamine
14371fce68
* lib/net/http.rb (add_header): remove warning. [ruby-dev:23170]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 12:40:34 +00:00
ocean
f34d501658
* dir.c (range): Cancel change for incomplete '['. More discussion
...
is needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 12:14:49 +00:00