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

4502 Коммитов

Автор SHA1 Сообщение Дата
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 647419e4f2 2004-02-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-12 04:35:54 +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
nobu b187d1933b 2004-02-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-11 15:15:16 +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 509fa97431 * object.c (rb_obj_clone, rb_obj_dup): mentioned about
initialize_copy.  [ruby-core:02339]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-10 08:12:04 +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 aab0773a86 2004-02-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-10 05:37:44 +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 3d4b83aaba * ext/extmk.rb, lib/mkmf.rb: rename $outdir to $extout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-09 09:20:52 +00:00
nobu ec47d11179 * 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@5660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-09 08:55:14 +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 77c6657723 2004-02-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-09 07:41:29 +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 216a505751 wrong commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 07:54:34 +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
nobu 0a96aa5adb 2004-02-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 01:33:52 +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 3a8647ea9f * dir.c (glob_helper): Dir.glob('**/') did not work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 01:07:09 +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 f232710cb8 2004-02-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-07 15:06:40 +00:00
ocean c887d20966 Did some styles (no change to behavior)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-07 14:22:33 +00:00
ocean d7f46e29f2 * dir.c (fnmatch):
File.fnmatch('*?', 'a') should return true. [ruby-dev:22815]
  File.fnmatch('\[1\]' , '[1]') should return true. [ruby-dev:22819]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-07 12:55:33 +00:00
ocean b839a4d720 * dir.c (fnmatch):
File.fnmatch('\[1\]' , '[1]') should return true. [ruby-dev:22815]
  File.fnmatch('*?', 'a') should return true. [ruby-dev:22819]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-07 12:51:57 +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
nobu 77a16f0200 2004-02-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 01:16:08 +00:00
nobu 87d5530af3 * ext/socket/socket.c (bsock_do_not_reverse_lookup): control reverse
lookup for every instance.  [ruby-core:02346]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 01:12:11 +00:00
nobu 0e692c450b * lib/irb/extend-command.rb: add irb_help command. [ruby-talk:91610]
* lib/irb/cmd/help.rb (IRB::ExtendCommand::Help): show RDoc.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 00:16:50 +00:00
akr 7011dce58e * lib/prettyprint.rb (PrettyPrint#first?): obsoleted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-05 15:50:43 +00:00
nobu ed12430398 2004-02-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-05 15:26:11 +00:00
akr 0c792a32b7 * lib/prettyprint.rb (PrettyPrint#seplist): added.
* lib/pp.rb (PPMethods#pp_object): use seplist.
  (PPMethods#pp_hash): ditto.
  (Array#pretty_print): ditto.
  (Struct#pretty_print): ditto.
  (MatchData#pretty_print): ditto.

* lib/set.rb (Set#pretty_print): use seplist.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-05 14:59:46 +00:00
nobu 90d8cbb1ee * file.c (rb_stat_mode): should not sign-expand, so backout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-04 13:39:49 +00:00
eban 0388819018 2004-02-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-04 04:16:51 +00:00
akr 40f9219a8b * file.c (test_l): fix wrong method name in document.
(test_S): ditto.
  (test_b): ditto.
  (test_c): ditto.
  (test_suid): ditto.
  (test_sgid): ditto.
  (test_sticky): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-03 17:20:08 +00:00