Commit graph

1591 commits

Author SHA1 Message Date
nagai
eeb22fe3b8 * ext/tk/sample/demos-jp/ctext.rb: modify improper message text.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-15 15:02:32 +00:00
nagai
735b3e3cb7 * ext/tk/tk.rb: support "tk inactive" sub-command. [for Tcl/Tk8.5a3]
* ext/tk/tk/namespace.rb: support "namespace path" sub-command and
  'namespace ensemble' sub-command. [for Tcl/Tk8.5a3]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-15 09:30:54 +00:00
nagai
7cae9d2f36 * ext/tk/tkutil.c: forgot update RELEASE_DATE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-14 11:48:37 +00:00
nagai
699cb8117c * ext/tk/tkutil.c: add TkUtil::CallbackSubst.subst_arg(m, ...) &
_define_attribute_aliases(hash) to get substitution-argument from
  attributes (e.g. subst_arg(:x,:y,:num,:button) --> "%x %y %b %b ").
* ext/tk/lib/tk/event.rb: use _define_attribute_aliases().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-13 17:07:08 +00:00
nobu
c538f75a51 * ext/Win32API/Win32API.c (Win32API_Call): disable global
optimization. fixed: [ruby-core:05143]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-09 14:59:10 +00:00
ttate
11d0680a96 Data object is automatically converted to a PtrData object using to_ptr().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-08 20:14:31 +00:00
nagai
8a599d6874 * ext/tk/lib/tkextlib/ICONS/icons.rb: fail to create instances of
Tk::ICONS [ruby-dev:26305].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-08 14:42:06 +00:00
matz
f105a01a3e * bignum.c (get2comp): calculate proper 2's complement for
negative numbers.  a bug in normalizing negative numbers
  reported from Honda Hiroki <hhonda@ipflex.com>.

* ext/socket/socket.c (ruby_getaddrinfo__aix): merged a patch from
  KUBO Takehiro <kubo@jiubao.org> to support AIX.  [ruby-list:40832]

* lib/yaml/rubytypes.rb (Array::to_yaml): merged a patch from
  Tilman Sauerbeck <tilman@code-monkey.de>.  [ruby-core:05055]

* lib/yaml/rubytypes.rb (Hash::to_yaml): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-08 03:20:09 +00:00
matz
2902d3081e * ext/curses/curses.c (curses_insertln): merged a patch from
TAKAHASHI Tamotsu <ttakah@lapis.plala.or.jp>.  [ruby-ext:02305]

* lib/irb/init.rb (IRB::IRB.rc_file_generators): more flexible
  IRB.rc_file_generators.  [ruby-core:05163]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 15:02:32 +00:00
ocean
12c6e816ba * ext/tk/sample/tkextlib/tile/themes/kroc.{rb,tcl}: also support tile 0.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 09:04:18 +00:00
ocean
f9f39da9ae * ext/tk/sample/tkextlib/tile/themes/kroc.{rb,tcl}: support tile 0.5 or later.
("pixmap" element constructor replaced by "image")


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 05:12:26 +00:00
nagai
5805c5d5bb * ext/tk/lib/multi-tk.rb: slave-ip fails to call procedures
delegated by master-ip.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07 01:33:12 +00:00
nagai
0e1bb14655 * ext/tk/lib/tk/console.rb: create console when required
* ext/tk/sample/tkextlib/tile/demo.rb: fix TypeError & create Console


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-05 14:03:41 +00:00
akr
d5b82649fa * test/dbm/test_dbm.rb: merged from ext/dbm/testdbm.rb.
* test/gdbm/test_gdbm.rb: merged from ext/gdbm/testgdbm.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-04 05:59:16 +00:00
akr
775d150289 * test/sdbm/test_sdbm.rb: renamed from ext/sdbm/testsdbm.rb with
modification to use test/unit.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 16:43:39 +00:00
(no author)
114f6ba3e6 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@8555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 16:11:46 +00:00
nagai
02f99c0dde * ext/tk/lib/multi-tk.rb: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03 05:08:40 +00:00
nagai
66b1af33af * ext/tk/lib/macpkg.rb: add PACKAGE_NAME information of Tcl/Tk Extension.
* ext/tk/lib/tk/msgcat.rb: ditto.
* ext/tk/lib/tk/winpkg.rb: ditto.
* ext/tk/lib/tkextlib/*: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-30 14:53:52 +00:00
gotoyuzo
76d714d88a * ext/openssl/ossl_x509store.c (ossl_x509stctx_set_time): should
not set internal flag directry.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-27 20:20:29 +00:00
nagai
d6c818d699 * ext/tk/lib/tk.rb: add shortcut-methods of tk_call + tk_split_list
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 21:11:13 +00:00
shugo
01ad1e82b5 * ext/readline/readline.c: supported libedit. (backported from HEAD)
* ext/readline/extconf.rb: ditto.

* test/readline/test_readline.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 13:01:56 +00:00
nagai
9130381a8c * ext/tk/lib/tk.rb: TkComm#tk_split_*list fail to split a kind of SJIS
strings. To avoid the trouble, add arguments to control converting
  encoding, and do split on a UTF8 string.
* ext/tk/lib/multi-tk.rb: modify to attend encoding.
* ext/tk/lib/remote-tk.rb: ditto.
* ext/tk/lib/tk/itemconfig.rb: ditto.
* ext/tk/lib/tk/listbox.rb: ditto.
* ext/tk/lib/tk/namespace.rb: ditto.
* ext/tk/lib/tk/panedwindow.rb: ditto.
* ext/tk/lib/tk/text.rb: ditto.
* ext/tk/lib/tk/textmark.rb: ditto.
* ext/tk/lib/tk/texttag.rb: ditto.
* ext/tk/lib/tk/variable.rb: ditto.
* ext/tk/lib/tk/winfo.rb: ditto.
* ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb: ditto.
* ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: ditto.
* ext/tk/lib/tk.rb: add TkWindow#lower_window/raise_window and
  Tk#lower_window/raise_window by reason of method-name conflict
* ext/tk/lib/tk/canvas.rb: bug fix on TkCanvas#delete when given
  non-TkcItem arguments.
* ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25 11:09:59 +00:00
nagai
4e8ec8f2fa * ext/tcltklib/extconf.rb: Framework support on MacOS X Tiger.
* ext/tcltklib/README.1st: add description of Framework support options.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-23 07:27:37 +00:00
gotoyuzo
736460bf9f * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#intialize):
should initialize session id context. [ruby-core:4663]

* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): add session id support.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-22 10:18:41 +00:00
nobu
7862a89c56 * configure.in: Check for the availability of pid_t, gid_t and uid_t and
remove AC_TYPE_UID_T.  fixed: [ruby-core:04745]

* defines.h: Remove pid_t typedef.

* ruby.h: Define rb_pid_t, rb_gid_t and rb_uid_t in accordance with
 the available system types.

* process.c: Change instances of pid_t and gid_t to their rb_*
 counterparts.

* ext/pty/pty.c: Change pid_t to rb_pid_t.

* vms/config.h: Define HAVE_{P,G,U}ID_T to 1.

* win32/Makefile.sub: Remove #define for {g,u}id_t.

* win32/win32.c: Change pid_t to rb_pid_t.

* wince/Makefile.sub: Remove #define for {g,u}id_t.

* wince/sys/types.h: Remove definitions of {p,g,u}id_t.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14 14:57:53 +00:00
nobu
96afcf2b07 * ext/extmk.rb: keep srcdir unexpanded.
* lib/mkmf.rb (create_makefile): quote topdir and hdrdir if necessary.
  fixed: [ruby-core:04932]

* lib/mkmf.rb (configuration), {bcc32,win32,wince}/Makefile.sub: make
  also INSTALL_PROG and INSTALL_DATA system dependent.
  fixed: [ruby-core:04931]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13 14:44:59 +00:00
naruse
ca73fd9f7f * ext/nkf/nkf-utf8/nkf.c: follow nkf 2.0.5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12 07:39:34 +00:00
nagai
a7a1ec77eb * ext/tk/lib/tkextlib/blt/winop.rb: fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-10 01:29:03 +00:00
nagai
8d1d3c7c62 * ext/tk/lib/tk/timer.rb: fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-08 14:21:31 +00:00
nobu
a83947140c * ext/syck/rubyext.c: comment to be closed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-30 12:50:34 +00:00
nobu
bf1e26cc33 * ext/stringio/stringio.c (strio_getline): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-30 04:11:33 +00:00
nagai
7d3df9ddc1 * ext/tcltklib/tcltklib.c (ip_invoke_core): call Tcl's "::unknown"
command when can't get information of target command.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-26 13:59:48 +00:00
ocean
5b1c4cde0a * ext/tcltklib/tcltklib.c (ip_RubyExitCommand): exit with status code
via TclTkIp#_eval didn't work. [ruby-talk:139390]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-23 11:04:00 +00:00
ocean
a9c673107b updated TCLTKLIB_RELEASE_DATE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-22 08:36:00 +00:00
ocean
f7dd138f63 * ext/tk/tcltklib.c (ip_set_exc_message): fixed memory leak.
* ext/tk/tcltklib.c: eTkCallbackReturn was not initialized.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-22 07:57:26 +00:00
nobu
60892d7b20 * ext/extmk.rb: expand path for ext/**/extconf.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-18 15:06:33 +00:00
ocean
0cbf47a88f * ext/zlib/zlib.c (zstream_run): fixed SEGV. [ruby-core:4712]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-18 02:34:20 +00:00
suke
8fe01e0f36 add WIN32OLE.codepage, WIN32OLE.codepage= methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-18 00:11:51 +00:00
nobu
0972be78a5 * ext/extmk.rb (relative_from): treat mere drive letter as an absolute
path.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-17 14:58:16 +00:00
nobu
351a5a5b8c * ext/extmk.rb (extmake, parse_args): do not expand destdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-17 13:57:52 +00:00
gotoyuzo
efbf103388 * ext/openssl/extconf.rb: check for OPENSSL_cleanse.
* ext/openssl/openssl_missing.h: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-15 19:16:18 +00:00
nagai
b499274294 * ext/tcltklib/tcltklib.c (ip_finalize): better modification than the
previous commit [ruby-dev:26029].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-12 06:36:22 +00:00
nagai
51d360be64 * ext/tcltklib/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/branches/ruby_1_8@8310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-12 03:40:27 +00:00
nagai
24807afcea * ext/tcltklib/tcltklib.c (ip_finalize): add existence check of
Tcl commands before calling Tcl_GlobalEval().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-11 17:29:15 +00:00
nagai
4d41fb2215 * ext/tcltklib/tcltklib.c (ip_finalize): adhoc patch to avoid SEGV
when exit on Tcl/Tk8.3.x.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-11 11:13:43 +00:00
ocean
5a52925404 commit miss...
* sample/tkextlib/treectrl/explorer.rb: File.executable? returns true
    even if it's plain text file. (this function only checks access right)

again.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-10 05:46:55 +00:00
suke
9e3f4f591f * ext/win32ole/win32ole.c(ole_invoke): retry after converting Qnil
to VT_EMPTY.

* ext/win32ole/win32ole/tests/testWIN32OLE.rb: correct error
  message string "Unknown" => "unknown".


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-10 01:15:41 +00:00
ocean
496c0ada92 * ext/tk/sample/tkextlib/treectrl/mailwasher.rb: fixed typo. [ruby-dev:26008]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09 16:33:26 +00:00
nagai
06adf6bd7e * ext/tk/lib/tk.rb: update RELEASE_DATE
* ext/tk/lib/tk/image.rb: support to create TkImage object without
  creating a new image object on Tk.
* ext/tk/lib/tk/menu.rb: use TkCommandNames on create_self()
* ext/tk/lib/tk/root.rb: TkRoot.to_eval() returns '.'.
* ext/tk/lib/tk/text.rb: add methods to create a TkText::IndexString
  from (x, y) coords.
* ext/tk/lib/tkextlib/tile.rb: bug fix and update support status.
* ext/tk/lib/tkextlib/tile/*.rb: ditto.
* ext/tk/sample/tkextlib/tile: New demo.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09 09:27:54 +00:00
ocean
bcd01af978 * ext/tk/sample/tkextlib/treectrl/explorer.rb: File.executable? returns true
even if it's plain text file. (this function only checks access right)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09 05:28:19 +00:00