Commit graph

7022 commits

Author SHA1 Message Date
eban
601c823734 * 2005-11-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-11 01:35:58 +00:00
ocean
e506964595 * ext/socket/socket.c: Socket Documentation. [ruby-core:6580]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-11 01:35:25 +00:00
nobu
40c35f2147 * Makefile.in (OUTFLAG): keep trailing spaces. [ruby-dev:27666]
* mkconfig.rb: substitution refereces added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-10 23:22:03 +00:00
ocean
fa9a6a96e1 * configure.in: undef HAVE_LINK on BeOS. (link(2) always returns
EINVAL, and this causes error in test/fileutils.)

* file.c: overwride chown(2) and fchown(2) on BeOS. (these functions
  should not change user/group id if -1 is passed as corresponding
  argument, and this causes error in test/fileutils too)
  [ruby-dev:27672]

* file.c (rb_file_s_link): checks HAVE_LINK.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-10 22:48:43 +00:00
eban
dad44811e2 * 2005-11-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-08 06:45:33 +00:00
ocean
ed5aa48436 * lib/drb/ssl.rb (DRb::SSLConfig#accept): fixed typo.
[ruby-dev:27560] [ruby-core:4627]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-08 06:42:15 +00:00
nagai
b02a1abd2b * ext/tk/stubs.c (_nativethread_consistency_check): use simpler
(low cost) way to check whether the Tcl interpreter was compiled
  with threads enabled of not.
* ext/tk/tcltklib.c: reduce warnings.
* ext/tk/tkutil/tkutil.c: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-07 04:47:08 +00:00
eban
e0d202cb9b * 2005-11-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-06 15:12:40 +00:00
ocean
394d995569 * lib/yaml.rb: removed :nodoc: to generate Kernel doc. [ruby-core:6324]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-06 15:09:06 +00:00
nobu
c93bf465dd * ext/iconv/iconv.c (Iconv::BrokenLibrary): exception when detected a
bug of underlying library.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-06 14:41:53 +00:00
nobu
aa6ece9fc6 * ext/iconv/extconf.rb: use 3rd argument to have_library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-06 14:08:56 +00:00
ocean
cca46ddd71 * ext/tk/stubs.c (ruby_tcl_create_ip_and_stubs_init): should touch
interpreter after initialization is done. [ruby-dev:27638]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-06 12:48:43 +00:00
eban
300b76b782 * 2005-11-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-06 11:23:23 +00:00
nobu
6609fbb02b * file.c (rb_file_s_readlink): readlink(2) on AIX fails with ERANGE if
buffer size is less than required.  fixed: [ruby-dev:27634]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-06 11:18:57 +00:00
ocean
06980f4807 * ext/tcltklib/.cvsignore: removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-02 13:09:14 +00:00
eban
455f8ec371 * 2005-11-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-02 11:40:08 +00:00
nagai
0685792807 * ext/tk/extconf.rb: change the check parameter for Win32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-02 11:28:40 +00:00
nagai
a2af997b7e * ext/tcltklib: merge into ext/tk and remove.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-02 11:19:30 +00:00
(no author)
6f2cce43a1 This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-02 11:19:30 +00:00
nagai
1a380fc6fe * ext/tk/sample/demos-jp/widget: make the root window lower than the
sub-demos windows.
* ext/tk/sample/demos-en/widget: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-02 10:12:20 +00:00
nagai
64b089b4fc * ext/tcltklib/tcltklib.c (ip_rbUpdateObjCmd, ip_rb_threadUpdateObjCmd): passed improper flags to DoOneEvent().
* ext/tk/tkutil.c: use rb_obj_respond_to() instead of rb_respond_to().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-02 10:06:11 +00:00
matz
90509da425 * eval.c (rb_call_super): should call method_missing if super is
called from Kernel method.

* eval.c (exec_under): frame during eval should preserve external
  information.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-01 13:45:00 +00:00
eban
cdcfcef20f * 2005-11-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-01 01:58:43 +00:00
gotoyuzo
4798cd1bb3 * ext/openssl/extconf.rb: should check ERR_peek_last_error().
[ruby-dev:27597]

* ext/openssl/ossl.c (ossl_raise): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-01 01:52:13 +00:00
matz
0107f4506b * configure.in: use proper option for Sun linker. A patch from
Shinya Kuwamura <kuwa@labs.fujitsu.com>.  [ruby-dev:27603]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-31 08:38:28 +00:00
usa
8917210760 * test/gdbm/test_gdbm.rb, test/sdbm/test_sdbm.rb (test_s_open_error):
skip on Win32/DOS platforms.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-31 02:29:27 +00:00
gotoyuzo
787d0e3254 * ext/openssl/ossl_cipher.c (ossl_cipher_update): input data must
not be empty. [ruby-talk:161220]

* test/openssl/test_cipher.rb: add test for Cipher#update("").


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-30 20:50:48 +00:00
gotoyuzo
da8a797335 * lib/webrick/httpservlet/cgihandler.rb
(WEBrick::HTTPServlet::CGIHandler#do_GET): the value of Set-Cookie:
  header field should be splited into each cookie.  [ruby-Bugs:2199]

* lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookie): new method
  to parse the value of Set-Cookie: header field.

* test/webrick/test_cookie.rb, test/webrick/test_cgi.rb,
  test/webrick/webrick.cgi: add some test for cookie.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-30 20:40:05 +00:00
matz
2c0701f658 * ext/readline/readline.c (readline_readline): type check.
[ruby-core:6089]

* numeric.c (fix_rshift): RDoc fix.  [ruby-core:6351]

* util.h (strtod): add #undef for platforms defines strtod()
  macro.   [ruby-dev:27563]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-30 18:20:54 +00:00
eban
548795273c * 2005-10-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-30 17:43:19 +00:00
ocean
73ded59d0a * test/ruby/test_float.rb (test_precision): test by assert_in_delta.
[ruby-dev:27575]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-30 17:37:31 +00:00
matz
673dcd5ae2 * 1.8.3 preview1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-28 17:08:03 +00:00
matz
92e887a4dd * ext/etc/etc.c: document update from mathew <meta@pobox.com>.
[ruby-core:06473]

* ext/fcntl/fcntl.c: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-28 17:00:07 +00:00
eban
97eecd18aa * 2005-10-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-27 08:22:51 +00:00
matz
b66202465a * string.c (scan_once): wrong condition to use mbclen2().
[ruby-dev:27535]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-27 08:19:20 +00:00
ocean
2d8424a3cd * ext/syck/implicit.c (syck_type_id_to_uri): should return
newly allocated memory. otherwise, type_id will be freed
  twice. [ruby-dev:27384] [ruby-core:6385]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-26 00:28:39 +00:00
ocean
4ce57dd4bc * ruby.h (Qfalse, Qtrue, Qnil, Qundef): make sure these immediate
values have VALUE type. there is an environment where sizeof(VALUE)
  != sizeof(int) like IA64. if 32bit integer (Qtrue) is passed to ANYARGS
  and received by 64bit integer (VALUE), upper bits may have garbage value.
  [ruby-dev:27513]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-26 00:05:58 +00:00
eban
458ce150cd * 2005-10-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-25 17:01:42 +00:00
nobu
17f022491a * configure.in (RUBY_EXTERN): macro to export symbols in shared
library.  [ruby-core:05528]

* defines.h, {bcc32,win32,wince}/Makefile.sub (RUBY_EXTERN): moved to
  configuration pass.

* ext/extmk.rb (extmake): RUBY_EXTERN for static linked extensions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-25 17:00:03 +00:00
matz
7514584b70 * lib/rational.rb: applied documentation patch from Gavin Sinclair
<gsinclair@gmail.com>.  [ruby-core:06364]

* lib/irb.rb (IRB::Irb::eval_input): handle prompts with newlines
  in irb auto-indentation mode.  [ruby-core:06358]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-25 06:38:26 +00:00
eban
b80df38ae0 * 2005-10-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-24 17:31:00 +00:00
nobu
e8871610c9 * lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::LABEL_LIST_RE):
reduce redundant backtrack.  [ruby-talk:161771]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-24 17:13:42 +00:00
seki
ee59278a23 RDoc documentation from Eric Hodel <Drbrain@segment7.net> added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-24 15:31:30 +00:00
nobu
972e93de97 * configure.in, io.c: use sys/syscall.h if syscall.h is not available.
[ruby-core:06247]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-24 12:15:26 +00:00
usa
a6872b50a5 * ext/Win32API/lib/win32/resolv.rb (get_info): support multiple DNS.
fixed: [ruby-list:40058], [ruby-dev:27479]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-24 11:51:44 +00:00
nagai
2fc1b894a2 * ext/tk/lib/tk.rb: update RELEASE_DATE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-24 02:07:04 +00:00
usa
f316151111 * 2005-10-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-24 00:20:48 +00:00
matz
082cb4b2b3 * ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys):
typo fixed.  [ruby-talk:162187]

* ext/tk/lib/tk/menu.rb (TkMenuEntryConfig::__item_val2ruby_optkeys):
  ditto.  [ruby-core:06359]

* ext/enumerator/enumerator.c: applied documentation patch from
  James Edward Gray II <james@grayproductions.net>.
  [ruby-core:06348]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-24 00:07:01 +00:00
eban
0a1a47235e * 2005-10-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-23 07:22:05 +00:00
nagai
a3d7c3b809 * ext/tcltklib/extconf.rb: improbe messages [ruby-core:06325].
* ext/tk/lib/tk.rb, ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/entry.rb,
  ext/tk/lib/tk/frame.rb, ext/tk/lib/tk/image.rb,
  ext/tk/lib/tk/itemconfig.rb, ext/tk/lib/tk/labelframe.rb,
  ext/tk/lib/tk/listbox.rb, ext/tk/lib/tk/menu.rb,
  ext/tk/lib/tk/radiobutton.rb, ext/tk/lib/tk/scale.rb,
  ext/tk/lib/tk/spinbox.rb, ext/tk/lib/tk/text.rb,
  ext/tk/lib/tk/toplevel.rb: improve conversion of option values.
* ext/tk/lib/tkextlib/*: ditto.
* ext/tk/lib/tkextlib/*: update to support ActiveTcl8.4.11.2.
* ext/tk/lib/tkextlib/trofs/*: support Trofs 0.4.3.
* ext/tk/lib/tkextlib/tile/*: support Tile 0.7.2.
* ext/tk/lib/tkextlib/vu/*: support vu 2.3.0.
* ext/tk/lib/tkextlib/tcllib/*: support Tcllib 1.8 (Tklib 0.3).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 22:16:33 +00:00