nagai
8245833fb4
commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-25 07:12:58 +00:00
nagai
b244f5d57b
* sample/tkextlib/tile/demo.rb: bug fix
...
* sample/tkextlib/tile/themes/*: add some themes (blue, keramik, and
plastik; require Tile-0.5 or later).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-25 07:05:22 +00:00
nagai
4b87fa9de2
Add lacks for Tk8.5 support.
...
* ext/tk/lib/tk.rb: add Tk.pkgconfig_list and Tk.pkgconfig_get [Tk8.5 feature].
* ext/tk/lib/tk/text.rb: supports new indices modifires on a Text widget
[Tk8.5 feature].
* ext/tk/lib/tk/virtevent.rb: add TkNamedVirtualEvent.
* ext/tk/lib/tk/autoload.rb: ditto.
* ext/tk/lib/tk/event.rb: add :data key for virtual events [Tk8.5 feature].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-23 12:01:24 +00:00
gotoyuzo
67673f6b47
* ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid.
...
* ext/openssl/ossl_x509ext.c (MakeX509ExtFactory): should use
OPENSSL_malloc to allocate X509V3_CTX.
* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): use
X509V3_EXT_nconf_nid to avoid SEGV (and to build extensions which
values are placed in separate section).
* test/openssl/test_x509ext.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-22 22:29:13 +00:00
nagai
63e6a0a91f
* ext/tk/lib/tkextlib/tile.rb: bug fix (Tk::Tile::USE_TTK_NAMESPACE
...
is not defined).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-21 17:34:12 +00:00
ocean
0e97a81adf
* ext/socket/socket.c: Socket Documentation. [ruby-core:6580]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-18 23:34:06 +00:00
nagai
bfab52caff
* ext/tk/lib/tk/font.rb: remove dependency on Ruby's version (1.8 or 1.9).
...
* ext/tk/lib/tkextlib/ICONS/icons.rb: ditto.
* ext/tk/sample/tkextlib/treectrl/demo.rb: ditto.
* ext/tk/lib/tk.rb: update RELEASE_DATE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-18 22:37:53 +00:00
nagai
ed9a1f3e8f
* ext/tk/lib/multi-tk.rb: add restriction to access the entried
...
command table and manipulate other IPs (for reason of security).
Now, a IP object can be controlled by only its master IP or the
default IP.
* ext/tk/lib/remote-tk.rb: add restriction to manipulate.
* ext/tk/tcltklib.c (ip_is_slave_of_p): add TclTkIp#slave_of?(ip)
to check manipulability.
* ext/tk/lib/tk.rb: bug fix on handling of Tcl's namespaces.
* ext/tk/lib/tk/namespace.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-18 08:39:29 +00:00
nobu
f3727f5928
* common.mk (static-ruby): overridable.
...
* ext/extmk.rb (parse_args): force to link extensions statically only
if static is given for extstatic.
* ext/extmk.rb (RUBY, RUBYW): overridable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-16 14:25:53 +00:00
nagai
fb10e93036
* ext/tk/sample/24hr_clock.rb: a new example about handling of canvas items.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-15 07:51:30 +00:00
ttate
6ddd56a130
should compare SIZEOF_VOIDP with SIZEOF_LONG_LONG.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-08 13:50:38 +00:00
nobu
1aa48a4ea9
* ext/iconv/iconv.c: iconvctl() support. [EXPERIMENTAL]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-07 11:55:48 +00:00
usa
f4413f1487
* ext/openssl/ossl.h: need to include winsock2.h before including
...
windows.h by some openssl headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-07 07:25:25 +00:00
nagai
f1d4dfca2b
* 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/trunk@9512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-07 04:47:08 +00:00
nobu
7665deeb12
* ext/iconv/iconv.c (Iconv::BrokenLibrary): exception when detected a
...
bug of underlying library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-06 14:41:53 +00:00
nobu
62bb03bf5a
* ext/iconv/extconf.rb: use 3rd argument to have_library.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-06 14:08:56 +00:00
ocean
84c2dc95de
* 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/trunk@9507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-06 12:48:43 +00:00
nagai
5b34104f74
* ext/tk/extconf.rb: change the check parameter for Win32.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-02 11:28:40 +00:00
nagai
284ac594b3
* 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/trunk@9494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-02 10:12:20 +00:00
nagai
0e05806f36
* ext/tk/tcltklib.c (ip_rbUpdateObjCmd, ip_rb_threadUpdateObjCmd): passed improper flags to DoOneEvent().
...
* ext/tk/tkutil/tkutil.c: use rb_obj_respond_to() instead of rb_respond_to().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-02 10:06:29 +00:00
matz
9974cb96d3
* 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.
* configure.in: use proper option for Sun linker. A patch from
Shinya Kuwamura <kuwa@labs.fujitsu.com>. [ruby-dev:27603]
* numeric.c (fix_rshift): RDoc fix. [ruby-core:6351]
* util.h (strtod): add #undef for platforms defines strtod()
macro. [ruby-dev:27563]
* 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/trunk@9490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-01 13:04:35 +00:00
gotoyuzo
79bf99f7b2
* 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/trunk@9488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-01 01:52:13 +00:00
gotoyuzo
ab509c0edb
* 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/trunk@9485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-30 20:50:48 +00:00
ocean
f44333cbff
* 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/trunk@9469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-26 00:28:39 +00:00
nobu
8a2612b335
* 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/trunk@9466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-25 17:00:03 +00:00
usa
c90f3b2d90
* 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/trunk@9455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-24 11:41:15 +00:00
nagai
7aae276e6b
* 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/tk/lib/tk.rb: update RELEASE_DATE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-24 02:06:53 +00:00
nagai
3dd3b2136b
* ext/tk/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/trunk@9448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 22:17:08 +00:00
nobu
d6837060be
* ext/extmk.rb, lib/mkmf.rb (with_config): support --with-extension
...
options. [ruby-dev:27449]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 14:55:07 +00:00
nobu
0cfe16bc21
* ext/tk/lib/tk/font.rb, ext/tk/lib/tkextlib/ICONS/icons.rb,
...
ext/tk/sample/tkextlib/treectrl/demo.rb, lib/net/imap.rb,
lib/rss/parser.rb, test/rss/test_content.rb,
test/rss/test_dublincore.rb, test/rss/test_syndication.rb,
test/rss/test_trackback.rb, test/ruby/test_eval.rb,
test/socket/test_socket.rb, test/socket/test_udp.rb:
Object#fcall was renamed as Object#funcall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 04:48:34 +00:00
ocean
73f94bb851
* intern.h, struct.c (rb_struct_iv_get): constified.
...
* marshal.c: avoid one VC++6 warning for implicit conversion
from int to char.
* ruby.h: ANSI styled.
* bcc32/Makefile.sub (HAVE_HYPOT): added.
* ext/socket/extconf.rb: BeOS is only one platform should call
closesocket, so check __BEOS__ macro directly. (I was worried
accidently HAVE_CLOSESOCKET is defined on windows again because
it has it)
* ext/socket/{getaddrinfo.c,socket.c}: ditto.
... these are all cosmetic changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-21 06:46:41 +00:00
nobu
d284e44687
* ext/ripper/tools/preproc.rb (prelude): do not append surplus
...
newlines to fix line numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-20 13:23:26 +00:00
nobu
834bd9db0b
* lib/mkmf.rb (create_makefile): get rid of a restriction
...
of Borland make. fixed: [ruby-dev:27460]
* ext/ripper/depend: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-19 22:55:51 +00:00
usa
404faedbaa
* sorry, commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-18 02:03:50 +00:00
usa
0245c7aa16
* ext/dl/depend, ext/dl/extconf.rb, ext/socket/depend,
...
ext/socket/extconf.rb: shouldn't define DESTCLEANFILES in depend,
use $distcleanfiles in extconf.rb.
* win32/Makefile.sub (distclean-local): should remove .config.h.time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-18 02:01:24 +00:00
nobu
64a1809ce2
* ext/extmk.rb: omit non-existing directories.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-16 13:17:43 +00:00
nobu
61bd5fb4dc
* ext/iconv/charset_alias.rb (charset_alias): create wrapper libray
...
even if no target matched.
* ext/iconv/extconf.rb: create wrapper library under RUBYARCHDIR
directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-13 14:33:30 +00:00
nobu
0ccc5dbe83
* io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c:
...
get rid of warnings. fixed: [ruby-core:06247]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-13 14:30:54 +00:00
gotoyuzo
ff2b8b31c2
* ext/openssl/ossl.c (Init_openssl): should call OpenSSL_add_ssl_algorithms().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-12 03:56:04 +00:00
suke
5fad2a15d1
add testNIL2VTEMPTY.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-09 05:04:30 +00:00
nobu
ec12edb11c
* lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matched
...
substring directly.
* ext/nkf/lib/kconv.rb (Kconv.conv): get rid of nil.to_a.
* test/ruby/test_assignment.rb, test/ruby/test_iterator.rb: followed
change of sample/test.rb.
* test/net/http/test_http.rb: removed superfluous splatting stars.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-08 10:45:52 +00:00
nobu
2b291d3806
* ext/iconv/charset_alias.rb: parse config.charset_alias file directly.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-08 10:15:50 +00:00
nobu
04bdcf8432
* parse.y (rb_parser_malloc, rb_parser_free): manage parser stack on
...
heap. [ruby-list:41199]
* parse.y (ripper_initialize): use rb_respond_to().
* ext/ripper/depend (check): get rid of re-generating ripper.y always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-08 09:58:25 +00:00
aamine
1022702acf
* ext/strscan/strscan.c (strscan_free): remove useless code. [ruby-dev:26368] [ruby-dev:27389]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-06 11:11:23 +00:00
nagai
5369103f87
* ext/tk/lib/tkextlib/tktable/tktable.rb: border_* instance methods
...
don't call 'border' subcommands.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-03 15:34:37 +00:00
akr
fc1bdda026
* ext/dl/cptr.c (rb_dlptr_s_to_ptr): abolish sizeof(FILE).
...
[ruby-dev:27317]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-29 01:28:56 +00:00
nagai
64edb6d31d
* ext/tk/tcltklib.c: cannot compile with Tcl/Tk8.0.x
...
[ruby-dev:27335].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-28 01:48:53 +00:00
nobu
462fd870d7
* lib/yaml/basenode.rb (YAML::BaseNode::match_segment): fix typo.
...
[ruby-dev:27237], [ruby-core:05854]
* lib/yaml/tag.rb (Module#yaml_as): suppress warnings.
* lib/yaml/types.rb (YAML::PrivateType, YAML::DomainType): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-27 22:57:53 +00:00
aamine
d277603d5e
* ext/strscan/strscan.c: document enhancement.
...
* ext/strscan/strscan.c: update copyright year.
* ext/strscan/strscan.c: update coding style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-24 12:20:14 +00:00
akr
0517b43c5b
banish some warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-24 00:17:43 +00:00