dave
84f0b051de
Annotate enum.c. Add pager support, and report on methods in included modules
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-18 21:08:25 +00:00
gotoyuzo
f75aff0139
* lib/webrick/httputils.rb (parse_form_data): should return an
...
empty Hash if the body is empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-18 19:08:11 +00:00
usa
b3b5b5e6b6
* eval.c (stack_extend): ignore inline optimization on VC7.
...
* win32/Makefile.sub (OS, RT): can override.
* win32/Makefile.sub (LDFLAGS): ditto. shouldn't use pdb:none
option. based on Tietew's patch [ruby-dev:22289]
* lib/mkmf.rb (create_makefile): should remove deffile if it's
made by miniruby. based on nobu's patch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-18 12:48:43 +00:00
nobu
77ffc8bf3f
* dir.c (fnmatch): unlike find_dirsep(), rb_path_next() never
...
return NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-18 07:38:48 +00:00
eban
41a8d90e7b
lib/ipaddr.rb (initialize): rescue StandardError.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-18 06:46:06 +00:00
eban
8781e7734f
2003-12-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-18 06:39:28 +00:00
eban
60f87fe599
* lib/ipaddr.rb (IPSocket::getaddress): merge usa's patch.
...
[ruby-dev:21678]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-18 06:38:30 +00:00
nagai
3270fda500
* bug fix
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-17 07:16:05 +00:00
matz
e78cb14774
* lib/cgi.rb (CGI::QueryExtension::Value::[]): should work like
...
String#[] if more than one arguments are specified.
* lib/delegate.rb: avoid using common instance name as "@obj".
* lib/cgi.rb (CGI::QueryExtension::Value): Value is no longer
subclass of String, but DelegateClass(String).
* ext/curses/extconf.rb: restore function check for init_color.
[ruby-list:38905]
* Makefile.in: need to specify $(MAINLIBS) for the miniruby
generation rule.
* configure.in: better FreeBSD -lc_r support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-17 06:38:18 +00:00
dave
1c1d2b9c34
Add pager support to ri, and start implementing command line options
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-17 05:43:17 +00:00
eban
313db605ed
2003-12-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-17 01:29:35 +00:00
dave
a366e19a12
commit miss
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-16 20:50:44 +00:00
dave
bc8c73c42a
Put RDoc comments into array.c, and refine rdoc/ri to deal with stuff that arose
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-16 20:28:44 +00:00
aamine
6ef31af2d1
introduce some new methods
...
* ext/strscan/strscan.c: new method StringScanner#beginning_of_line? (alias #bol?)
* ext/strscan/strscan.c: new method StringScanner#concat and #<<.
* ext/strscan/strscan.c: StringScanner#new(str) does not duplicate nor freeze STR (allow destructive modification).
* test/strscan/test_stringscanner.rb: test new methods above.
* test/strscan/test_stringscanner.rb: test destructive string modification.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-16 15:18:11 +00:00
akr
ff9f067f89
* lib/pp.rb: don't use local variable `pp'.
...
* lib/prettyprint.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-16 12:22:15 +00:00
dave
c5bbcadbe6
Initial load of support for ri/rdoc integration
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-16 05:44:25 +00:00
nagai
dcd30a1236
* condition bug of if statement on {pack,grid}_propagate methods
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-16 04:27:15 +00:00
eban
82275d4766
2003-12-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-16 02:20:00 +00:00
why
b75b9455ac
* lib/yaml/rubytypes.rb: comments in strings. [ruby-talk:88012]
...
* test/yaml/test_yaml.rb: add test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-15 18:17:43 +00:00
nobu
ee72d97e99
* eval.c (catch_timer): check rb_thread_crtical in main native
...
thread.
* eval.c (thread_timer): just sends signals periodically, to
prevent main native thread from receiving them in critical
section. [ruby-core:01959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-15 16:14:49 +00:00
nobu
5fd915fc83
* file.c: renamed and externalized rb_path_next,
...
rb_path_skip_prefix, rb_path_last_separator, rb_path_end.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-15 04:32:23 +00:00
nobu
70c1badcfd
2003-12-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-15 04:13:44 +00:00
nobu
52f81e0ce7
commit miss
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-15 04:11:34 +00:00
nobu
12b5b81a97
* dir.c (check_dirname): check string safety and remove extraneous
...
trailing directory separators. [ruby-dev:22279]
* file.c: extern rb_path_next, rb_path_skip_prefix,
rb_path_last_separator, rb_path_end.
* intern.h: prototypes for rb_path_next, rb_path_skip_prefix,
rb_path_last_separator, rb_path_end.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-15 04:07:03 +00:00
usa
8e43498222
* ext/openssl/ossl_pkcs12.c (ossl_pkcs12_initialize): first argument
...
of rb_protect should take an argument of VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-15 00:30:12 +00:00
nahi
aadcff240e
* descrictive warning message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-14 13:37:01 +00:00
eban
5e66c3ddd6
2003-12-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-14 10:04:38 +00:00
eban
cd4d74e9be
* ext/socket/socket.c (Init_socket): IPv6 is not supported although
...
AF_INET6 is defined on MinGW.
* lib/ipaddr.rb (AF_INET6): workaround in the environment which does
not support IPv6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-14 10:04:35 +00:00
eban
d2e6f552f3
ext/tk/MANIFEST: add sample/tkalignbox.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-14 05:25:37 +00:00
nobu
2298eb5f12
* ext/iconv/charset_alias.rb: preserve original order.
...
* ext/iconv/extconf.rb: remove wrapper file at clean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-13 09:55:21 +00:00
matz
6a3f682ff7
* eval.c (thread_timer): use timer by sub-thread and nanosleep.
...
[ruby-talk:87519]
* gc.c (Init_stack): no stack adjustment for THREAD_SAFE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-13 09:13:39 +00:00
nobu
fe7c38c862
* eval.c (proc_alloc): cache the created object at first time.
...
[ruby-talk:61288], [ruby-dev:22240]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-13 08:18:03 +00:00
nobu
9579041da8
2003-12-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-13 02:26:24 +00:00
nobu
acf4da163a
* test/yaml/test_yaml.rb (test_ruby_struct): struct name din not match.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-13 00:02:30 +00:00
nobu
9fdbc41973
* configure.in: check ucontext.h.
...
* eval.c: use getcontext/setcontext() instead of setjmp/longjmp()
on ia64 or with native thread enabled. [ruby-core:01932]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-13 00:01:28 +00:00
ser
47c59bb62b
REXML changes:
...
* Took out the duplicate Shift-JIS entries, for OSes that don't understand
case sensitive file names.
* Fixed some bugs in the encodings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-12 21:17:41 +00:00
why
ff2a47eb99
* lib/yaml/rubytypes.rb: anonymous struct fix. [ruby-core:01946]
...
* test/yaml/test_yaml.rb: add test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-12 18:08:58 +00:00
nahi
30e14294a7
* lib/csv.rb: add Cell#to_str and Cell#to_s for /.../ =~ aCell,
...
"#{aCell}" and so on.
* test/csv/test_csv.rb: add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-12 13:44:58 +00:00
aamine
232b4c2073
* lib/fileutils.rb (mkdir): remove trailing `/' from pathes.
...
* lib/fileutils.rb (rmdir): ditto. [ruby-dev:22238]
* lib/fileutils.rb (rmdir_r): ditto.
* lib/fileutils.rb (fu_copy_dir): check if it is a directory after mkdir(2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-12 10:33:24 +00:00
eban
6de4020c30
2003-12-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-12 02:02:49 +00:00
nobu
aef04b63e6
* eval.c (proc_invoke): fix class name in warning message for
...
define_method. [ruby-dev:22235]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-11 21:06:14 +00:00
gotoyuzo
4ce5922b5c
untypo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-11 12:29:51 +00:00
gotoyuzo
ab2e1c141f
* ext/openssl/ossl_pkcs12.[ch]: new files. add OpenSSL::PKCS12.
...
* ext/openssl/ossl_ossl.[ch]: ditto.
* ext/openssl/MANIFEST: add ossl_pkcs12.[ch].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-11 12:29:08 +00:00
aamine
4f95ee2458
* test/fileutils/test_fileutils.rb (test_mkdir_p): test expand_path'ed path.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-11 12:07:17 +00:00
aamine
d44d45450f
* lib/fileutils.rb (mkdir_p): remove trailing `/' befere mkdir(2). mkdir("nonexistdir/") does not work on NetBSD/Alpha 1.6.1.
...
* lib/fileutils.rb (fu_list): call to_str for all arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-11 11:54:50 +00:00
eban
50e61c533b
* lib/ftools.rb (makedirs): sync with fileutils.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-11 11:08:16 +00:00
aamine
5c3abcd043
catch all SystemCallErrors.
...
* lib/fileutils.rb (mkdir_p): catch all SystemCallErrors (mkdir("C:\") causes EACCESS on Windows 2000/NTFS).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-11 10:54:17 +00:00
aamine
eb5a174119
* lib/fileutils.rb (mkdir_p): check if it is a directory after mkdir(2) instead of before mkdir(2), to avoid race condition. [ruby-talk:87730]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-11 10:15:54 +00:00
aamine
eec8dd6737
* lib/fileutils.rb: def m( arg ) -> def m(arg).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-11 09:49:47 +00:00
eban
7a049ac594
2003-12-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-11 02:56:28 +00:00