Commit graph

5561 commits

Author SHA1 Message Date
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
eban
4e1636f0b9 * 2005-03-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 08:21:32 +00:00
nagai
5fd61519a5 * ext/tk/tkutil.c (ary2list): give wrong arguments to hash2kv()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 07:40:25 +00:00
nagai
44166b6011 * ext/tk/lib/tk/timer.rb (TkTimer): forgot to clear @return_value
when restarting
* ext/tk/lib/tk/sample/cd_timer.rb: new sample of TkRTTimer


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-14 10:42:46 +00:00
nagai
fe95f1e2ca * ext/tk/lib/tk/timer.rb (TkRTTimer): forgot to reset the callback
time. So, 'continue' do all callbacks between 'stop' and 'continue'.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-14 03:23:01 +00:00
eban
55f6c6d557 * 2005-03-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-13 15:21:16 +00:00
nagai
2150e7f5a1 * ext/tk/lib/tk/timer.rb (TkRTTimer): correct calculation of offset
value. get a little better accuracy.
* ext/tk/sample/demos-en/widget: use a binding with no local variables
  when eval a sample script.
* ext/tk/sample/demos-en/bind.rb: ditto.
* ext/tk/sample/demos-en/tcolor: ditto.
* ext/tk/sample/demos-jp/widget: ditto.
* ext/tk/sample/demos-jp/bind.rb: ditto.
* ext/tk/sample/demos-jp/tcolor: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-13 15:19:16 +00:00
usa
eb9bb3786a * 2005-03-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-13 07:53:54 +00:00
seki
16c1e00f61 remove test_gc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-13 01:10:24 +00:00
eban
e761c4f39e * 2005-03-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-10 14:15:50 +00:00
nagai
b12fcec321 * ext/tcltklib/tcltklib.c (lib_eventloop_ensure): mis-delete a timer
handler when exit from a recursive called eventloop
* ext/tk/lib/tk/timer.rb: new TkRTTimer class, which can works for a
  realtime operation
* ext/tk/sample/tkrttimer.rb: sample of TkRTTimer class
* ext/tk/lib/tk/textmark.rb: move  TkTextMark#+ and TkTextMark#- to
  TkText::IndexModMethods
* ext/tk/lib/tk/text.rb: improve TkTextMark#+ and TkTextMark#-, and
  add them to TkText::IndexModMethods module
* ext/tk/sample/tktextio.rb: add test part of "seek by text index
  modifiers"


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-10 10:14:13 +00:00
(no author)
1898e91c9d 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@8134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-10 10:14:13 +00:00