ocean
ba60b3f25f
* dir.c (CompareImpl): File.fnmatch and Dir.glob get better performance
...
in Win32. This is achived by calling downcase() for single-byte
characters. CharLower() is only called for multi-byte characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 01:33:12 +00:00
ocean
86e01c98c7
Fix ChangeLog
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-15 17:21:01 +00:00
ocean
1b529182e1
* bcc32/Makefile.sub: should warn suspicious pointer conversion.
...
* bcc32/setup.mak: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-15 17:20:17 +00:00
ocean
a4b96f38ea
Add ruby-dev number.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-15 12:08:24 +00:00
ocean
5e379106b5
* dir.c (push_braces): remove wrong const.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-15 12:00:51 +00:00
nahi
3fd10dc40c
* sample/soap/calc/httpd.rb, sample/soap/exchange/httpd.rb,
...
sample/soap/sampleStruct/httpd.rb, sample/wsdl/googleSearch/httpd.rb:
use soap/property instead of getopts for configuring DocumentRoot
and port# of httpd. see samplehttpd.conf below.
* sample/soap/calc/samplehttpd.conf,
sample/soap/exchange/samplehttpd.conf,
sample/soap/sampleStruct/samplehttpd.conf,
sample/wsdl/googleSearch/samplehttpd.conf: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-15 11:50:02 +00:00
seki
c0f53ebf6d
fix TupleSpace#read, #take
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-15 10:15:05 +00:00
suke
d780328362
add IDispatch wrapper in val2variant
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-15 06:53:15 +00:00
ocean
30fd29a174
* ruby.h, dir.c (rb_glob): add const.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-15 06:34:21 +00:00
gotoyuzo
19cb7ffd6c
* lib/mkmf.rb: absolute path of ruby is assigned to $(RUBY).
...
[ruby-dev:22870]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-14 16:51:12 +00:00
nobu
2549889663
* mkconfig.rb: use fileutils.rb instead of ftools.rb.
...
* bcc32/Makefile.sub, win32/Makefile.sub (config.h): define
STACK_GROW_DIRECTION.
* bcc32/Makefile.sub (config.h): add newer checks.
* wince/Makefile.sub (config.h): define NEED_IO_SEEK_BETWEEN_RW.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-14 14:59:19 +00:00
eban
e8262c8f04
* lib/un.rb: use OptionParser instead of getopts.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-14 14:27:43 +00:00
seki
5a2b2fed70
import lib/drb/sample
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-14 02:31:05 +00:00
seki
0562a84558
add pretty_print
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-14 02:16:05 +00:00
matz
829a44822d
* re.c (KR_REHASH): wrong hash value on sizeof(long) > sizeof(int).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-13 16:03:15 +00:00
gsinclair
be1de4f8db
* lib/fileutils.rb: slighly improved documentation (sync with 1.8)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-13 12:53:42 +00:00
kou
c0306157d9
* test/rss/test_trackback.rb: added tests for TrackBack with RSS
...
2.0.
* test/rss/common.rb: added methods make RSS 2.0.
* lib/rss/trackback.rb: TrackBack API is decided.
* lib/rss/rss.rb: RSS::VERSION 0.0.7 -> 0.0.8
* lib/rss/parser.rb, lib/rss/rss.rb: replaced $DEBUG by RSS::DEBUG.
* lib/rss/2.0.rb: removed RSS 2.0 URI. Because RSS 2.0 doesn't
have URI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-13 11:02:03 +00:00
nagai
82482f67e2
* ext/tk/lib/tk.rb: en-bugged at last commit (Feb 11 23:24:22 2004)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-13 05:46:49 +00:00
aamine
ddc22d3596
* test/fileutils/test_fileutils.rb: rescue SystemCallError instead of EINVAL. File.link may raise EACCES on network file systems.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-13 03:27:01 +00:00
aamine
0c30c6836b
* test/fileutils/test_fileutils.rb: File.link raises EINVAL on Win9x. [ruby-dev:22713]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-12 20:21:24 +00:00
gsinclair
08763eed7f
* lib/ftools.rb: documented
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-12 12:50:27 +00:00
gsinclair
2facb107c4
* lib/base64.rb: added and tidied documentation
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-12 12:22:18 +00:00
aamine
d589b366bc
* lib/net/protocol.rb (WriteAdapater#puts): must append "\n" to the string, don't prepend. (ruby-bugs:PR#1280)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-12 11:45:28 +00:00
nobu
8bc9475793
* lib/mkmf.rb (create_tmpsrc): cpp32 of Borland C++ ignores #error
...
directives in DOS line-ending files at all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-12 11:31:52 +00:00
nobu
263769b65b
* parse.y (rparen): ignore preceding newlines to right parentheses.
...
(ruby-bugs:PR#1221) [ruby-dev:22858]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-12 06:23:24 +00:00
eban
0b97d6f458
* configure.in: set ac_cv_func_link to yes to enable link() on MinGW.
...
[ruby-dev:22241]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-12 05:20:09 +00:00
usa
eca7c7bdf0
* win32/win32.c (link): raise NotImplementedError on Win9X.
...
contributed by Tietew. [ruby-dev:22713]
* win32/win32.c, win32/win32.h (link): add const.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-12 04:35:30 +00:00
nobu
6531904a1c
* ext/tk/lib/tk.rb (TkComm::tk_split_list): suppress a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-12 00:56:24 +00:00
akr
166b3957e0
* lib/pathname.rb: use assert_raise instead of assert_raises.
...
* lib/pp.rb: ditto.
* lib/time.rb: ditto.
* lib/tsort.rb: ditto.
use TSortHash and TSortArray instead of Hash and Array in test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-11 17:36:37 +00:00
nagai
6283babd21
* ext/tk/lib/tk.rb: properly treat a Tcl/Tk's string with escaping
...
special characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-11 14:31:33 +00:00
nobu
6aca74c713
typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-10 20:54:00 +00:00
nobu
b416c57c0a
* eval.c (method_proc): return bound Proc object. [ruby-dev:22854]
...
* eval.c (rb_mod_define_method): bind method body itself for Method
object.
* node.h (NODE_DMETHOD): deprecated.
* object.c (rb_class_inherited_p): export.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-10 11:49:14 +00:00
nobu
beee54c7ce
* eval.c (umethod_bind): perge unused check. [ruby-dev:22850]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-10 07:44:00 +00:00
usa
d255aa7b69
* string.c (rb_str_match): raise TypeError when both arguments are
...
strings. [ruby-dev:22851]
* string.c (rb_str_match2): removed.
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,
wince/Makefile.sub (string.c): now not depend on version.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-10 05:36:34 +00:00
nobu
ff9c34b3f4
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub, configure.in,
...
runruby.rb: run rdoc, test and so on with compiled extension
libraries. [ruby-dev:22688]
* ext/extmk.rb, lib/mkmf.rb: make extension libraries in separated
directory, similar to the actual directory structure.
* lib/fileutils.rb (FileUtils.copy_file): use the mode of the original
file to create new file.
* lib/rdoc/ri/ri_paths.rb (RI::Paths::SYSDIR): get rid of unexpected
influence by envirionment variable.
* bcc32/configure.bat, win32/configure.bat: add install-doc options.
* win32/win32.c, win32/win32.h (rb_w32_fstat): fix Borland C runtime
bug which returns wrong mode. [ruby-dev:22846]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-09 08:48:55 +00:00
nobu
4f5b070378
* process.c (detach_process_watcher): return the last status.
...
[ruby-dev:22841]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-09 07:30:17 +00:00
nobu
5e947e2d03
* lib/pp.rb (PP::PPMethods::object_address_group): suppress negative
...
sign for higher heap areas.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 07:46:18 +00:00
akira
ebb7ed1864
* test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):
...
added tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 07:21:03 +00:00
akira
4ca30a130d
* test/ruby/test_file.rb (TestFile::test_fnmatch): added tests for
...
File.fnmatch. [ruby-dev:22815][ruby-dev:22819]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 06:52:45 +00:00
akira
54d612c27f
* test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):
...
added tests. [ruby-core:02306] [ruby-core:02311]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 06:43:53 +00:00
aamine
992d2749ac
* lib/net/http.rb (HTTP#request): should not overwrite Connection header. (ruby-bugs:PR#1274)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 05:24:47 +00:00
ocean
c5c6516c2d
Added ruby-dev number
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 01:46:38 +00:00
ocean
75fa29e4d0
* dir.c (glob_helper): Dir.glob('**/') did not work.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 01:14:33 +00:00
ocean
208adf5c1f
* dir.c (fnmatch):
...
File.fnmatch('*?', 'a') should return true. [ruby-dev:22815]
File.fnmatch('\[1\]' , '[1]') should return true. [ruby-dev:22819]
* dir.c
Did some styles (no change to behavior)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-07 15:44:58 +00:00
nobu
776206b3e7
* lib/irb/init.rb (IRB.rc_files): yield possible rc file names.
...
* lib/irb/input-method.rb (IRB::ReadlineInputMethod::initialize):
load and save history automatically. [ruby-core:02352]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-07 10:56:16 +00:00
dave
7f55b0c39e
Support https in hyperlinks
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 13:49:54 +00:00
nahi
8fc2fa55f9
* lib/pp.rb (PPInspectTest#test_to_s_with_iv): rollback the previous
...
commit. [ruby-dev:22813]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 13:42:15 +00:00
nahi
c47d29da45
* lib/pp.rb (PPInspectTest#test_to_s_with_iv): remove instance
...
variable which is defined in the test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 13:24:17 +00:00
akira
9ab9489da4
* test/ruby/test_proc.rb (TestProc::test_eq): added a
...
test. [ruby-dev:22599]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 09:55:43 +00:00
akira
4d94e3ec48
* test/ruby/test_proc.rb (TestProc::test_eq): added tests for
...
Proc#==.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 09:27:53 +00:00