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

6541 Коммитов

Автор SHA1 Сообщение Дата
nobu dbbfbc5a21 * configure.in, lib/mkmf.rb, {bcc32,win32,wince}/Makefile.sub: improve
C++ support.  [ruby-dev:26089]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 21:45:43 +00:00
nobu 756a1c457e * ruby.c (ruby_incpush_expand, proc_options): expand relative path
given with -I option.  [ruby-dev:26090]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 21:44:20 +00:00
eban 3ff0189a1f * 2005-04-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 16:56:14 +00:00
aamine b6b8750a29 * lib/net/http.rb: add rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 16:53:27 +00:00
nobu 514df9097e * lib/mkmf.rb (create_makefile): support platforms have file separator
other than /.

* {bcc32,win32,wince}/Makefile.sub (BUILD_FILE_SEPARATOR): separator
  of building platform.

* {bcc32,win32,wince}/Makefile.sub (CP, INSTALL): use COPY command.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 15:08:36 +00:00
nobu 5c6e644196 * Makefile.in, common.mk: miniruby depens on MINIOBJS.
* dmydln.c (dln_load): dummy function to raise LoadError.

* cygwin/GNUmakefile.in, {bcc32,win32,wince}/Makefile.sub: miniruby
  can't load extensions on Windows.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 14:25:34 +00:00
nobu 9031084686 * win32/ifchange.bat: delete testing files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 14:02:15 +00:00
aamine 9d0758b3b0 * lib/net/http.rb: new method Net::HTTP.post_form.
* lib/net/http.rb: new method Net::HTTPHeader#set_form_data and its alias #form_data=.
* lib/net/http.rb: Net::HTTPHeader#add_header -> add_field (adjustted to Ruby 1.8).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 13:55:26 +00:00
eban 75cff6289c * lib/rdoc/parsers/parse_rb.rb (lex_init): use IRB module.
[ruby-core:04737]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 02:04:05 +00:00
eban 4c4e6b60d1 * 2005-04-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 01:30:02 +00:00
nobu 7f530ef4e1 * {bcc32,win32,wince}/configure.bat, {bcc32,win32,wince}/setup.mak:
add extout option.

* bcc32/setup.mak: make configuration variables overridable.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-19 22:28:28 +00:00
eban 98cc039220 * lib/ftools.rb (File.safe_unlink): do not modify a symlinked file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-19 14:49:43 +00:00
nobu e313b6a9f1 * eval.c (search_required): deal with features with path too.
* intern.h (rb_file_expand_path): prototype.  fixed: [ruby-dev:26082]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-19 14:02:48 +00:00
nobu 07eead8071 * eval.c (search_required): handle static linked extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-18 23:38:16 +00:00
eban b56724550d * 2005-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-18 15:03:05 +00:00
nobu 8121738943 * eval.c (search_required, rb_require_safe): expand path in
rb_features.  [ruby-dev:26079]

* file.c (rb_find_file_ext): return absolute path.

* ext/extmk.rb: expand path for ext/**/extconf.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-18 15:01:21 +00:00
matz ce3eb0b204 * eval.c (rb_attr): attribute name check added.
* numeric.c (flo_plus): small typo fix.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-18 06:38:30 +00:00
eban 925cb98fe8 * 2005-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-18 02:40:30 +00:00
ocean 4605d6bc41 * ext/zlib/zlib.c (zstream_run): fixed SEGV. [ruby-core:4712]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-18 02:34:20 +00:00
nobu 3403d175d9 * ext/extmk.rb (relative_from): treat mere drive letter as an absolute
path.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-17 14:58:16 +00:00
nobu 7906fe4b63 * 2005-04-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-17 14:48:55 +00:00
nobu b567351aff * ext/extmk.rb (extmake, parse_args): do not expand destdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-17 13:57:52 +00:00
kou 4afc07a666 * sample/rss/tdiary_plugin/rss-recent.rb (rss_recent_cache_rss):
use the first date information of items as site date information
  if channel doesn't have date information.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-16 08:04:50 +00:00
nobu b51cd234cf * configure.in (RUBY_PROG_INSTALL): not add -p option to INSTALL.
files need timestamps to be kept are only ar-archive on a few
  platforms, and be installed by instruby.rb but not INSTALL.
  fixed: [ruby-core:04721]

* mkconfig.rb: purge autoconf value variables.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-16 06:27:43 +00:00
eban dc404f009a * 2005-04-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-16 05:05:58 +00:00
ocean 18c5d91bb3 * bcc32/Makefile.sub: quick hack... prepend DESTDIR.
still have restriction on DESTDIR ("", "/", "e:")


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-16 01:40:34 +00:00
gotoyuzo 385d24afa5 * ext/openssl/extconf.rb: check for OPENSSL_cleanse.
* ext/openssl/openssl_missing.h: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-15 19:16:18 +00:00
suke 9f6d8980ff * ext/win32ole/tests/testWIN32OLE.rb: add test for WIN32OLE.codepage=
* ext/win32ole/tests/testOLETYPELIB.rb: correct expected message.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-15 13:43:32 +00:00
suke 6a63e942ba ext/win32ole/win32ole.c(ole_invoke): retry after converting Qnil
to VT_EMPTY.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-15 13:05:01 +00:00
aamine dd82fb6393 * parse.y [ripper] (regexp): dispatch regexp option. [ruby-Bugs:1688]
* ext/ripper/lib/core.rb: regenerated (interface changed).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-14 10:05:29 +00:00
aamine af759b81a1 * lib/fileutils.rb (remove_file): ignore exceptions caused by chmod.
* lib/fileutils.rb (remove_dir): try to get rights to rmdir. [ruby-Bugs:1502]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-14 10:00:52 +00:00
keiju ce7c263fb6 * lib/irb/ruby-lex.rb, lib/irb/slex.rb: bug fix of [ruby-Bugs-1745]
* lib/irb/ext/loader.rb, lib/irb/ext/save-history.rb:
   fix location of @RCS_ID

 * lib/irb/cmd/help.rb: a lost of release IRB 0.9.5.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-14 09:58:18 +00:00
keiju 2ac523a891 * lib/irb/notifier.rb, lib/irb/output-method.rb, lib/irb/ext/history.rb
fixed warning of 'ruby -w'


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-14 06:16:08 +00:00
keiju ff958cd44e * doc/irb/irb.rd.ja: a lost of release IRB 0.9.5.
* lib/irb/slex.rb: bug fix by [ruby-core :04707].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 20:45:54 +00:00
keiju 8e8cd649be * bin/irb lib/irb.rb lib/irb/...: IRB 0.9.5(new files)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 15:30:15 +00:00
eban 914c81e98b * 2005-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 15:29:51 +00:00
keiju 622b522047 * bin/irb lib/irb.rb lib/irb/...: IRB 0.9.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 15:27:09 +00:00
kou c56355fbdc * lib/rss/rss.rb (RSS::VERSION): 0.1.3 -> 0.1.4.
* lib/rss/rss.rb (RSS::Element#converter): fixed converter
  transmission bug.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 14:48:00 +00:00
nobu abdb27bf16 * lib/optparse.rb (OptionParser#order!): delete debug output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 13:24:59 +00:00
nobu 4eede6b4a1 * lib/optparse.rb (OptionParser#order!): call handlers iff matches
non-switch.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 13:12:24 +00:00
eban c7151a3f5e * configure.in (mingw32): extract msvcr*.dll from objdump result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 12:24:40 +00:00
eban 7b8fe2bcc7 * 2005-04-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 11:05:30 +00:00
nobu f091f36035 * configure.in (mingw32): use actual runtime DLL name as ruby DLL
name and default load path.

* win32/Makefile.sub, win32/setup.mak: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 10:25:41 +00:00
nobu bea190a1fc * lib/optparse.rb (OptionParser#make_switch, OptionParser#order!):
added non-option and end-of-args handler.  [ruby-talk:136878]
  (EXPERIMENTAL


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-12 10:30:45 +00:00
nagai c594a95a57 * ext/tk/tcltklib.c (ip_finalize): better modification than the
previous commit [ruby-dev:26029].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-12 06:37:10 +00:00
nagai b346101b25 * ext/tk/tcltklib.c (ip_finalize): fix SEGV when Tcl_GlobalEval()
modifies the argument string to eval.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-12 03:39:50 +00:00
eban f5af202262 * 2005-04-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-11 17:32:39 +00:00
nagai 7f22985048 * ext/tk/tcltklib.c (ip_finalize): add existence check of Tcl commands
before calling Tcl_GlobalEval().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-11 17:29:51 +00:00
seki d822ffdc04 adhoc patch for [druby-ja:123]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-11 14:48:50 +00:00
eban 4f6e8bade5 * dir.c, file.c (lstat): avoid warnings for mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-11 13:30:10 +00:00