nobu
a4aa765cb6
*** empty log message ***
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-04 12:51:42 +00:00
matz
c3c3102610
* ext/curses/extconf.rb: updated for tinfo check.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-04 07:31:10 +00:00
matz
cc4dec0701
* Changelog, lib/debug.rb: fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-03 15:58:03 +00:00
akr
554f524ee5
* lib/timeout.rb: add optional exception argument for compatibility
...
function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-03 14:44:46 +00:00
eban
40f3699376
lib/mkmf.rb (VPATH): use '&&' instead of 'and'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-03 11:07:55 +00:00
eban
3312bdf544
2003-07-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-03 11:04:21 +00:00
matz
9d22a06ea0
* array.c (rb_values_at): extract common procedure from
...
rb_ary_values_at. follow DRY principle.
* re.c (match_values_at): values_at should understand ranges.
* struct.c (rb_struct_values_at): ditto.
* struct.c (inspect_struct): inspect format changed; add "struct "
at the top.
* sprintf.c (rb_f_sprintf): "%p" specifier for inspect output.
(RCR#68)
* eval.c (rb_mod_undef_method): allow "undef_method" to accept
multiple arguments. (RCR#146)
* lib/timeout.rb: put timeout in Timeout module. (RCR#121)
[ruby-talk:61028]
* re.c (match_groups): new method added. (RCR#139)
* variable.c (rb_mod_const_of): should exclude constant defined
in Object, unless retrieving constants of Object.
* string.c (rb_str_new4): do not allocate new string if original
is frozen or already have copy-on-write entry. [ruby-talk:74940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-03 11:02:53 +00:00
eban
a11ab83884
* lib/mkmf.rb (VPATH): convert from Windows form to Unix form on
...
MinGW. This fixes the build with GNU make 3.80-1 for Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-03 03:20:32 +00:00
eban
f126a442e2
2003-07-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-02 04:46:30 +00:00
matz
447578a8a0
* string.c (rb_str_shared_replace): clear flags before copy.
...
* string.c (rb_str_replace): ditto.
* eval.c (rb_yield_0): override visibility mode for module_eval
etc. (ruby-bugs-ja PR#505)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-02 04:27:29 +00:00
aamine
f261bdf66c
* lib/net/smtp.rb: synchronize document with source code.
...
* lib/net/pop.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-02 02:39:53 +00:00
aamine
c20ecb1ba4
* lib/net/smtp.rb: unify SMTP and SMTPCommand.
...
* lib/net/smtp.rb: new exception class SMTPError.
* lib/net/smtp.rb: new exception class SMTPAuthenticationError.
* lib/net/smtp.rb: new exception class SMTPServerBusy.
* lib/net/smtp.rb: new exception class SMTPSyntaxError.
* lib/net/smtp.rb: new exception class SMTPFatalError.
* lib/net/smtp.rb: new exception class SMTPUnknownError.
* lib/net/smtp.rb: change critical section protect algorithm.
* lib/net/smtp.rb (SMTP#do_start): check authentication args before all.
* lib/net/smtp.rb: new method send_message (alias send_mail).
* lib/net/smtp.rb: new method open_message_stream (alias ready).
* lib/net/pop.rb: POPBadResponse is a POPError.
* lib/net/pop.rb (POPMail#pop): ban ReadAdapter.
* lib/net/pop.rb (POPMail#top): ditto.
* lib/net/pop.rb (POP3Command): change critical section protect algorithm.
* lib/net/pop.rb (POP3Command#auth): USER and PASS should be one critical block.
* lib/net/pop.rb (POP3Command#retr): ban `dest' argument using iterator.
* lib/net/pop.rb (POP3Command#top): ditto.
* lib/net/protocol.rb: #read_message_to -> #each_message_chunk
* lib/net/protocol.rb: #D -> #LOG
* lib/net/protocol.rb: #D_off -> #LOG_off
* lib/net/protocol.rb: #D_on -> #LOG_on
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-02 02:34:39 +00:00
aamine
f473140e62
* lib/net/http.rb: set old class aliases for backward compatibility. [ruby-talk:74863]
...
* lib/net/protocol.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-02 02:05:35 +00:00
nagai
28f8fc7f88
tk.rb :
...
* TkWindow include TkWinfo
* treat unknown widget classes as subclasses of TkWindow
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-01 22:08:19 +00:00
eban
2e4fc59d1c
* lib/net/pop.rb (Net::POP3#start): typofix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-01 16:34:58 +00:00
shigek
49298086d0
Precision for '**' enhanced (bug).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-01 14:14:18 +00:00
eban
e8aa990f92
* parse.y (rb_intern): should use mbclen instead of mblen.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-01 10:03:04 +00:00
nobu
249f3f8361
2003-07-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-01 01:40:15 +00:00
nobu
442c836bfe
* class.c (rb_define_class, rb_define_module): also set constant under
...
Object. [ruby-dev:20445]
* object.c (boot_defclass): ditto.
* variable.c (rb_const_get_at, rb_const_get_0, rb_mod_const_at,
rb_const_defined, mod_av_set, rb_const_assign): toplevel constants
are now under Object, rb_class_tbl remains for GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-01 01:36:25 +00:00
nobu
7bb1e40d8b
2003-06-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-30 09:08:48 +00:00
nobu
6e85f9c99c
* eval.c (mnew): ignore metaclasses have no influence, for rklass.
...
[ruby-talk:74706]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-30 08:53:10 +00:00
shigek
a40a92f04c
Bug in '/' fixed by Tadashi Saito.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-29 13:20:08 +00:00
seki
d5f31755fc
import drb-2.0.4 (use LocalJumpeError#reason)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-28 22:03:41 +00:00
nobu
3d4c49ee3b
2003-06-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-28 03:41:22 +00:00
nobu
e5a9dcb9d8
* configure.in (rb_cv_stack_grow_dir): check stack growing direction.
...
* eval.c (rb_thread_restore_context): prior configuration macro.
* gc.c (ruby_stack_length): always return the address of lower edge.
* gc.c (rb_gc_mark_locations): remove margin. [ruby-dev:20462]
* gc.c (rb_gc, Init_stack): prior configuration macro.
* gc.c (Init_stack): add safety margin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-28 03:29:00 +00:00
nobu
057dcc0495
* string.c (rb_str_split_m): remove white spaces on the head of
...
the last element, when limit is specified. [ruby-talk:74506]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-27 05:41:28 +00:00
shigek
f64d6232ab
Changed according to Tadashi Saito's advice.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-27 04:40:25 +00:00
shigek
d3ce235bab
1.From Tadashi Saito's advice
...
to_parts changed to split,assign removed, ** added,bugs in infinite? & nozero? fixed.
2.Rounding functionalities added
mode now accepts rounding mode.
round accepts second argument for Bankers' rounding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-27 04:38:57 +00:00
eban
7e91b4b546
2003-06-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-27 03:05:12 +00:00
nobu
7a425f71e3
* io.c (io_fflush): need to check if closed after thread switch.
...
[ruby-dev:20351]
* io.c (fptr_finalize): ditto.
* string.c (rb_str_rindex_m): fixed wrong fix. should move backward
first only when matching from the end.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-26 18:24:58 +00:00
nobu
894d2b643d
2003-06-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-26 12:40:48 +00:00
nobu
8c8e4f59c2
* class.c (class_instance_method_list): get rid of warning about
...
arguement type mismatch, and inline method_list().
[ruby-core:01198]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-26 12:34:51 +00:00
nagai
79edd1af70
tk.rb :
...
* add and modify :
TkWidget.database_class, TkWidget.database_classname,
TkWidget#database_class, TkWidget#database_classname
* instances of a subclass of TkToplevel or TkFrame are
created with ":class=>subclass" option as default.
For example, the followings create similar objects.
(1) TkFrame.new(:class=>'XXX')
(2) class XXX < TkFrame; end; XXX.new
sample/tkoptdb.rb :
* add new part of sample script
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-25 14:40:32 +00:00
matz
dff438fba3
* class.c (rb_generic_class_instance_methods): merge argument
...
check (and warning) into one function; following DRY principle.
[ruby-core:01193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-25 07:12:10 +00:00
nagai
9a47a04607
tkcanvas.rb :
...
* Although requiring manual control of GC, memory eating problem
of TkCanvas Items is fixed. Probably, a time when GC should run
is only after removing many canvas items. GC's cost is large
and the man who knows proper timing to start GC is the man who
create the script. So, Ruby/Tk doesn't start GC automatically.
tktext.rb :
* add some methods and bug fix
tk.rb :
* add widget destroy hook binding to TkBindTag::ALL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-25 05:49:10 +00:00
eban
f3d3cfb30d
2003-06-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-25 05:34:28 +00:00
matz
0c4fe2b522
* variable.c (autoload_delete): should delete Qundef from iv_tbl.
...
(ruby-bugs-ja PR#504)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-25 05:28:24 +00:00
nagai
17e1936d8b
tk.rb :
...
* TkToplevel, TkFrame, TkPanedwindow, TkOptionDB : bug fix
* TkOptionDB : make it more secure to use procs defined on resourceDB
sample/tkoptdb.rb, sample/resource.ja, sample/resource.en :
* sample script how to use TkOptionDB.
resource.ja and resource.en are samples of resource definition file
which are read by tkoptdb.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-24 16:46:07 +00:00
why
b60ba59429
* lib/yaml/types.rb: replaced Kernel::Hash reference with Object::Hash
...
from [ruby-talk:74270]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-24 14:12:03 +00:00
nobu
5f80d051a6
* eval.c (rb_yield_0): show yielded block position not only yielding
...
point. [ruby-dev:20441]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-24 08:59:34 +00:00
aamine
170aaabe4b
* lib/net/http.rb (HTTPHeader#proxy_basic_auth): missing `@'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-24 07:42:46 +00:00
aamine
9fa20b9973
* config.guess: have wrongly returned "alphaev56-unknown-linux-" on Linux/Alpha.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-24 05:26:18 +00:00
eban
988653ad27
2003-06-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-24 02:07:30 +00:00
aamine
2f7fde4e4e
* configure.in: always add -mieee for gcc/alpha. [ruby-dev:20429]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 19:54:41 +00:00
nobu
d749616333
* array.c (rb_ary_unshift_m): need to check number of arguments.
...
[ruby-talk:74189]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 17:40:14 +00:00
aamine
9d05b9a4b3
* io.c (io_close): missing prototype.
...
* ext/socket/socket.c (bsock_do_not_rev_lookup_set): ditto.
* ext/win32ole/win32ole.c (foletype_guid, foletype_progid): ditto.
* error.c (syserr_initialize): length argument of sprintf() is an int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 14:55:09 +00:00
eban
30235cd14e
* MANIFEST: add wince files.
...
* ext/tk/MANIFEST: add sample/tkmenubutton.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 14:30:27 +00:00
nagai
65e7ebb14f
tk.rb :
...
* TkRoot and TkToplevel : bug fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 14:22:44 +00:00
nobu
d061e2aab7
sorry, typo again.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 08:45:59 +00:00
nobu
61927637e8
typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-23 08:45:09 +00:00