Commit graph

7022 commits

Author SHA1 Message Date
gotoyuzo
1928aa3c93 * ext/openssl/ossl_engine.c (ossl_engine_s_load): should not raise
error even if the specified engine could not be loaded. (Dynamic
  engines don't have fixed name to load.)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30 21:01:04 +00:00
nagai
aab0cf195c * sample/tkextlib/iwidgets/sample/hierarchy.rb: fail to treat
Japanese (i18n?) filenames.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30 15:43:42 +00:00
ocean
75a49c91ef * win32/rm.bat: $Id doesn't work on -kb file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30 15:40:29 +00:00
eban
065e76bfda * 2005-03-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30 15:37:23 +00:00
ocean
6605f597ce * win32/ifchange.bat, win32/rm.bat: backported from HEAD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30 15:23:51 +00:00
nobu
162b040611 * Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
common.mk, configure.in, ext/extmk.rb, lib/mkmf.rb, instruby.rb,
  runruby.rb: backport extout.  [ruby-dev:25963]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30 14:45:05 +00:00
eban
d6024d6055 * 2005-03-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30 09:06:19 +00:00
nagai
6b242062de * ext/tk/ChangeLog.tkextlib: commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30 08:49:43 +00:00
nagai
69ef4bae62 * ext/tcltklib/tcltklib.c: add TclTkIp#_create_console() method to
create a Tcl/Tk's console window.
* ext/tk/lib/multi-tk.rb: support TclTkIp#_create_console() method.
* ext/tk/lib/remote-tk.rb: ditto.
* ext/tk/lib/tk/console.rb: ditto.
* ext/tk/lib/tk.rb: update RELEASE_DATE
* ext/tk/sample/demo-*/check2.rb: use 'return' in the Proc object.
* ext/tk/sample/tkextlib/**: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30 08:44:55 +00:00
seki
496cf2d757 use new_with instead of reinit [ruby=dev:25961]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-29 13:14:47 +00:00
eban
af84322aab * 2005-03-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-29 10:34:40 +00:00
nagai
ef5afcf8a0 * lib/tkextlib/blt/component.rb: cannot create elements except
default type of element.
* lib/tkextlib/blt/barchart.rb: ditto.
* lib/tkextlib/blt/graph.rb: ditto.
* lib/tkextlib/blt/stripchart.rb: ditto.
* lib/tkextlib/blt/component.rb: axis command option gets
  proper object type of arguments.
* sample/tkextlib/blt/calendar.rb: new sample.
* sample/tkextlib/blt/pareto.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-29 10:27:32 +00:00
seki
ddeed4af3c move method DRbObject#reinit to DRbObject.new_with.
extract method DRbObject.prepare_backtrace. add DRb.regist_server,
remove_server, fetch_server. change server in thread variable if
in-proc sesrver. [druby-ja:113]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-28 14:50:27 +00:00
nobu
e9f3739074 * ext/syck/rubyext.c: get rid of warnings caused by a bug of VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-28 11:43:45 +00:00
ocean
041ac28e4e * ext/tk/lib/tkextlib/iwidgets/notebook.rb: fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-28 07:29:17 +00:00
usa
44a88a98db * 2005-03-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-28 00:16:38 +00:00
nobu
a1b5313e4e * ext/iconv/iconv.c (iconv_create): Iconv::Failure requires 3
arguments.  (pointed out by NaHi)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-27 23:40:32 +00:00
eban
e5867c4b29 * 2005-03-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-26 14:11:24 +00:00
nagai
7738391d23 * ext/tk/lib/tk.rb (_callback_entry_class?): add for checking whether
a class is available for a callback entry.
* ext/tk/lib/tk.rb (after_cancel): add Tk.after_cancel(afterID) method.
* ext/tk/lib/tk.rb (array2tk_list): change from private module method
  of TkComm to public module method.
* ext/tk/lib/tk.rb (cget): add check that slot argument is not empty string.
* ext/tk/lib/tk.rb (configinfo): ditto.
* ext/tk/lib/tk/itemconfig.rb (itemcget): add check that slot argument
  is not empty string.
* ext/tk/lib/tk/itemconfig.rb (itemconfiginfo): ditto.
* ext/tk/lib/tk/entry.rb: add TkEntry#icursor and icursor= (alias of
  cursor and cursor= method).
* ext/tk/lib/tk/font.rb: improve font treatment when the font name is
  empty string.
* ext/tk/lib/tk/variable.rb: add :variable, :window and :procedure type.
* ext/tk/lib/tk/variable.rb: improve treatment of array-type tkvariable.
* ext/tk/lib/tkextlib/blt.rb: add commands for zooming.
* ext/tk/lib/tkextlib/blt/*: bug fix.
* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and add methods
  to call TreeCtrl commands for bindings.
* ext/tk/sample/tkextlib/blt/*: new sample scritps.
* ext/tk/sample/tkextlib/treectrl/*: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-26 13:58:11 +00:00
usa
ee46b19927 * 2005-03-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-25 02:08:21 +00:00
eban
03850a4913 * ChangeLog: add a ML tag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-25 02:00:32 +00:00
eban
0d5d00fcb9 * configure.in (WIN32_LEAN_AND_MEAN): removed because a lot of
troubles.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-25 01:58:30 +00:00
eban
1f23cfb899 * 2005-03-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-24 14:14:19 +00:00
nobu
8b948641b7 * lib/mkmf.rb (macro_defined?): try to compile for an old compiler
which doesn't bail out at #error directive.  [ruby-dev:25818]

* lib/mkmf.rb (check_sizeof): refine logging messages.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-24 14:11:27 +00:00
gotoyuzo
f80a4dcd47 * lib/webrick/utils.rb (WEBrick::Utils.create_listeners):
- should raise ArgumentError if no port is specified.
  - even if the specified port is 0, all TCPServers should be
  initialized with the port given to the first one.

* lib/webrick/server.rb (WEBrick::GenericServer#initialize): if :Port
  parameter is 0, it should be updated with the port number which
  ectually listened.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-23 19:08:03 +00:00
shugo
3f1ab7ab5b * test/ruby/test_settracefunc.rb (test_event): added tests for
"class" and "end" and "raise".


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-22 15:43:27 +00:00
shugo
9606249e46 * eval.c (rb_call0): check event_hooks instead of trace_func.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-22 13:43:51 +00:00
eban
2342d9078b * 2005-03-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-22 09:27:44 +00:00
shugo
c38fd2d127 * eval.c (rb_add_event_hook): new function to add a hook function for
interpreter events. (backported form HEAD)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-22 08:35:23 +00:00
nobu
0bda9e89d1 * 2005-03-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-20 13:53:19 +00:00
nobu
2bf474b1a3 * lib/mkmf.rb (mkmf_failed): check if Makefile is created without
create_makefile.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-20 13:51:48 +00:00
nobu
104ea6ca93 * 2005-03-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-19 14:50:05 +00:00
nobu
3f9f746072 * misc/ruby-mode.el (ruby-expr-beg): returned true always.
fixed: [ruby-list:40683]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-19 14:48:35 +00:00
nagai
b5994506c7 * ext/tk/lib/tk/font.rb: add some TkFont class methods to get font
information without creating a TkFont object.
* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and define some
  classes for components of Tk::TreeCtrl


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-18 15:43:42 +00:00
eban
7619ce34f1 * 2005-03-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-18 03:17:31 +00:00
eban
7db2143471 * error.c: typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-18 03:17:27 +00:00
nobu
24d08708ee * 2005-03-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-17 12:47:07 +00:00
matz
8edf8442e4 * struct.c (make_struct): allow non local-id field
names. [ruby-core:04575]

* struct.c (inspect_struct): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-17 08:50:26 +00:00
nagai
c37188578a * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: call wrong method in
Tk::TreeCtrl#*_configinfo and current_*_configinfo method


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16 16:23:12 +00:00
shugo
9b03ab6f93 * eval.c (rb_call0): call_cfunc() should be protected.
* test/ruby/test_settracefunc.rb: added test for c-return.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16 14:39:02 +00:00
ocean
a658ebd5bc * object.c (str_to_id): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16 13:23:51 +00:00
matz
be458259da * eval.c (rb_call0): reorganize "return" event post.
* object.c (str_to_id): warn for NUL containing strings.

* re.c (make_regexp): need to free internal regexp structure when
  compilation fails.  [ruby-talk:133228]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16 09:26:38 +00:00
nagai
7389bac707 * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and suppot
TkTreeCtrl-1.1
* ext/tk/lib/tkextlib/SUPPORT_STATUS: change the supported version
  of TkTreeCtrl extension


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16 09:12:16 +00:00
nobu
a98287182a * ext/stringio/stringio.c: use right arrows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 15:43:29 +00:00
eban
7ed126161e * 2005-03-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 15:43:25 +00:00
nagai
3d9b191777 * ext/tk/lib/tkextlib/SUPPORT_STATUS: change the support status of
TkImg extension


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 15:41:41 +00:00
nobu
b7efe244cd *** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 14:52:59 +00:00
nobu
27c921dfad * ext/stringio/stringio.c: add rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 14:52:59 +00:00
nobu
59ee5e0508 * ext/iconv/iconv.c (Init_iconv): InvalidEncoding also should include
Iconv::Failure.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 14:50:08 +00:00
nagai
d355c4bf0a * ext/tk/sample/tkextlib/tkimg/*: Tk::Img extension sample
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 08:22:09 +00:00