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

4513 Коммитов

Автор SHA1 Сообщение Дата
eban af81ac5832 2004-03-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-04 02:03:24 +00:00
nobu 9778625be8 * ext/syck/rubyext.c: get rid of warnings.
* lib/rss/taxonomy.rb: ditto.

* lib/rdoc/ri/ri_formatter.rb: ditto.

* test/ruby/test_assignment.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 23:08:45 +00:00
nobu 5dfa7cacd1 * lib/rdoc/ri/ri_display.rb (DefaultDisplay::page): wait until the
pager terminates.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 16:17:32 +00:00
nobu 57cbecdb4f * lib/rdoc/ri/ri_display.rb (DefaultDisplay::setup_pager): ensure
pager closes and stdout is restored.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 09:58:25 +00:00
matz 54a0407425 * eval.c (method_hash): new method. [ruby-talk:93968]
* eval.c (proc_eq): do not compare dyna_vars.

* eval.c (proc_hash): new method.

* eval.c (rb_yield_0): protect break/return from within orphan (or
  lambda) Proc object.

* parse.y (yylex): should not allow symbol for invalid global
  variable (e.g. `:$-)`). [ruby-core:02518]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 04:55:35 +00:00
eban e3b15cf111 2004-03-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 02:27:50 +00:00
nobu 1184dd33d5 * lib/mkmf.rb ($topdir): use compile_dir only when not installed yet.
[ruby-talk:94098]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 00:52:10 +00:00
kou 40daca4a87 * lib/rss/converter.rb: handled Uconv::Error.
* lib/rss/dublincore.rb: DublincoreModel -> DublinCoreModel


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 16:21:11 +00:00
dblack a5e13ce5ff scanf.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 16:08:17 +00:00
dblack 24aac11a56 * soak_up_spaces only ungetc's non-space last character
* IO#block_scanf now returns partial last iteration
  array if format string matches partly


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 15:59:30 +00:00
dblack 760691ca01 Fixed to work with Ruby test suite (patch from Nobu)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 11:21:32 +00:00
nobu 5aad820604 * io.c (pipe_open): erred program name should be reported by
exceptions, instead of the first argument.

* process.c (rb_spawn): ditto.

* process.c (proc_spawn_v): use first argument as program name.

* win32/win32.c (rb_w32_aspawn): ditto.

* win32/win32.c (CreateChild): search executable file if no program
  name given.

* lib/drb/extservm.rb (invoke_service_command): use Process.spawn.
  [ruby-dev:23103]

* lib/rdoc/ri/ri_display.rb (setup_pager): use IO.popen.
  [ruby-dev:23086], [ruby-dev:23103]

* lib/rdoc/diagram.rb (convert_to_png): ditto.

* lib/rdoc/generators/chm_generator.rb (compile_project): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 07:30:35 +00:00
usa 95ce90a87e * wince/Makefile.sub (config.h): shouldn't check defined? NORETURN.
[ruby-dev:23100]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 03:31:05 +00:00
usa 15691e6e98 2004-03-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 03:26:33 +00:00
usa 8e89487675 * win32/Makefile.sub (config.h): shouldn't check defined? NORETURN.
[ruby-dev:23100]

* ChangeLog: typo.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 03:26:09 +00:00
nobu 06953dceed * test/ruby/test_iterator.rb (test_ljump): cannot use
assert_nothing_raised due to passing block.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 02:28:44 +00:00
dblack 4bea8f3ce2 scanf.rb fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 21:26:25 +00:00
dblack 2e9663f152 Fixed Kernel#scanf to propagate code block
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 21:23:14 +00:00
eban 1362d3fca2 MANIFEST: added these files:
U test/scanf/data.txt
U test/scanf/test_scanf.rb
U test/scanf/test_scanfblocks.rb
U test/scanf/test_scanfio.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 14:54:28 +00:00
dblack e5f6e2c8b8 scanf.rb note
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 14:37:52 +00:00
dblack b0c388896a Partial fix so STDIN#scanf works with new STDIN#pos behavior
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 14:25:40 +00:00
dblack 933fb96a12 First commit of scanf test files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 12:24:42 +00:00
ocean cac6f19906 Fix ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 10:58:33 +00:00
ocean ed694e74ff * bcc32/setup.mak: configure's default is "--enable-install-doc"
* win32/setup.mak: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 10:56:26 +00:00
eban 632b181ed7 2004-03-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 03:30:02 +00:00
dave b84917766d Allow aliases to have parentheses
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 03:26:05 +00:00
eban 63fba925c3 2004-02-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-29 14:21:37 +00:00
dave 43d483d41d Handle :nodoc: om singleton classes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-29 14:16:33 +00:00
ocean 8a5dba33b2 * bcc32/Makefile.sub, bcc32/README.bcc32, bcc32/configure.bat,
bcc32/setup.mak: new configure scheme. use ``configure --prefix=dir''
  instead of ``make DESTDIR=dir install''.
  --with-static-linked-ext support on mswin32. [ruby-dev:23034]
  (by Nakada. Thanks.)

* bcc32/setup.mak: "configure --disable-install-doc" is now working.

* win32/setup.mak: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-29 08:22:48 +00:00
eban 04fae1c56c 2004-02-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28 09:33:21 +00:00
ocean e5670724c5 * bcc32/configure.bat: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28 06:21:20 +00:00
ocean 3b7c2e1286 * bcc32/configure.bat: append missing label ":exit".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28 06:13:11 +00:00
ocean cbd201f13d * configure.bat: append missing label ":exit".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28 06:11:44 +00:00
seki c85e310795 * MANIFEST: add test_erb.rb
* lib/erb.rb, test/erb/test_erb.rb: don't forget filename,
          if both filename and safe_level given. [ruby-dev:23050]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28 01:52:14 +00:00
matz bf08067ded * eval.c (proc_invoke): no orphan block check is needed when pcall
is true.

* eval.c (localjump_destination): update localjump condition.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-27 13:30:00 +00:00
eban 3255bc8fbf 2004-02-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-27 02:32:07 +00:00
eban a77fffc250 MANIFEST: add lib/cgi/.document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-27 02:32:03 +00:00
matz aba4666e19 * eval.c (localjump_destination): lambda should not interfere
return from the yielded block.

* hash.c (delete_if_i): use st_delete_safe() (via
  rb_hash_delete()) instead of returning ST_DELETE.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-26 17:15:00 +00:00
seki 52e0246b61 require drb/eq.rb by default
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-26 15:56:40 +00:00
dave 3632100c64 Doug Kearns's doc. patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-26 13:50:40 +00:00
nobu 5a6de8f5c5 2004-02-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-26 03:15:53 +00:00
nobu 0ff6bcae35 * win32/win32.c (make_cmdvector): adjust successive double-quote
handling.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-26 03:15:08 +00:00
nobu 1eafe8b157 * process.c (rb_f_exec): get rid of SEGV when exec failed for command
in single string.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-25 17:35:13 +00:00
nobu 56e2c5243f * process.c (rb_f_exec): get rid of SEGV when exec failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-25 17:19:16 +00:00
nobu 920f5af303 2004-02-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-25 12:20:21 +00:00
nobu b0e0f45571 * gc.c (obj_free), io.c (rb_io_fptr_finalize), rubyio.h (OpenFile):
sharing OpenFile.

* io.c (rb_io_initialize): accept IO instance.  [ruby-dev:22195]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-25 12:17:39 +00:00
nobu 61deeb3741 * instruby.rb (with_destdir): should return the given argument if no
DESTDIR is given.

* instruby.rb: use path name expansion of cmd.exe.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-25 12:16:30 +00:00
nobu 8f2057e33d * lib/cgi-lib.rb, lib/getopts.rb, lib/importenv.rb, lib/parsearg.rb:
warn with caller position.

* test/rss/test_content.rb, test/rss/test_dublincore.rb,
  test/rss/test_syndication.rb, test/rss/test_trackback.rb: use cgi
  instead of cgi-lib.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-25 11:44:58 +00:00
ocean 9418d16cbb Add ruby-dev number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-24 10:06:46 +00:00
ocean b381815014 * dir.c (glob_helper): '**/' should not match leading period
unless File::FNM_DOTMATCH is set. (like '*/')


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-24 09:49:59 +00:00