* net/imap.rb: support THREAD extension.
91 lines of code changed in:
2003-04-27
3 lines of code changed in:
* string.c (rb_str_to_i): disallow negative radix.
[ruby-dev:20087]
8 lines of code changed in:
* parse.y (open_args): warning message changed to "don't put space
before argument parentheses".
* io.c (argf_read): ARGF.read() should read all argument files.
15 lines of code changed in:
* wince/ : files removed.
(config, dll.mak, exe.mak, mswince-ruby17.def,
io.c, process.c, signal.c, string.c, time.c)
* wince/ : files added.
(assert.c, Makefile.sub, mkexports.rb, io_wce.c,
process_wce.c, signal_wce.c, string_wce.c,
time_wce.c)
* wince/configure.bat : like mswin32 style.
* wince/direct.c : remove "static" at _currentdir.
* wince/io.h : change definition.
* wince/stdio.c : _fdopen -> fdopen.
* wince/process.h : add_P_OVERLAY.
* wince/time.h : change definition.
* wince/wincemain.c : add wce_SetCurrentDir.
* wince/wince.c : add wce_SetCurrentDir and wce_fopen.
fix GetModuleFileNameA to return correct "lpFileName".
* wince/wince.h : remove #ifdef.
* wince/sys/utime.h, utime.c : rename _utime to utime.
* wince/sys/stat.c : expand relative directory in stat.
1772 lines of code changed in:
2003-04-25
3 lines of code changed in:
* gc.c: STACK_LEVEL_MAX=65535 on mswince.
5 lines of code changed in:
* io.c (argf_read): read should not span two files. [ruby-dev:20073]
8 lines of code changed in:
* eval.c (splat_value): split splat_value() and avalue_splat().
* io.c: there's no way to set non-IO value to current_file, thus
no need for argf_forward().
11 lines of code changed in:
* eval.c (proc_invoke): Proc#yield should pass through retry and
break like keyword yield. [ruby-talk:70034]
* eval.c (proc_invoke): orphan Proc now raises LocalJumpError for
break and retry again.
* eval.c (rb_eval): ARGSCAT should splat the argument.
* eval.c (splat_value): splat operation function.
75 lines of code changed in:
Patch from Michal Rokos for sprintf format strings applied.
30 lines of code changed in:
Removed lib & sample dir.
0 lines of code changed in:
Matrix used range.size, which no longer exists
9 lines of code changed in:
Re-expose Complex.new as .new! (Kernel#Complex needs to call _something_ :)
12 lines of code changed in:
Fix method name typo in Matrix.row_vector
5 lines of code changed in:
BigDecimal dir. rearrangement according to the suggestions from Minero Aoki.
12 lines of code changed in:
Dir. rearrangement according to the suggestions from Minero Aoki.
137 lines of code changed in:
More explanations for sincos.
2 lines of code changed in:
Prec. improvement for PI.
1 lines of code changed in:
* ext/extmk.rb: add -Wl,--no-undefined to LDSHARED only
if GNU ld is 2.11 or later.
13 lines of code changed in:
* lib/ipaddr.rb (include?): Support non-IPAddr parameters by Dave Thomas. [ruby-core:00980]
18 lines of code changed in:
* lib/cgi.rb (CGI::QueryExtension::[]): always return Value
object.
13 lines of code changed in:
* ext/zlib/extconf.rb: bccwin32 is win32 too.
5 lines of code changed in:
fix ERB::DefMethod bug
3 lines of code changed in:
* ruby.c: don't call VirtualQuery in ruby_init_loadpath()
on mswince.
8 lines of code changed in:
* marshal.c (save_mantissa, load_mantissa): for interoperability
should count cut-down bit from topmost.
63 lines of code changed in:
2003-04-22
4 lines of code changed in:
* parse.y (arg_ambiguous): hopefully better message.
* lib/cgi.rb (CGI::QueryExtension::initialize_query): to_ary
18 lines of code changed in:
* lib/resolv.rb (Resolv::DNS::Resource#hash): use XOR to accumulate
hash value.
* lib/tsort.rb (TSort#each_strongly_connected_component): don't use
block argument.
(each_strongly_connected_component_from): ditto.
34 lines of code changed in:
* marshal.c: one more digit for decimal point. [ruby-talk:69808]
5 lines of code changed in:
* numeric.c (flo_is_finite_p): use finite() if available.
* win32/win32.h (isinf, isnan): define as macro.
[ruby-win32:00533]
* bcc32/Makefile.sub, win32/Makefile.sub: no longer use
missing/isinf.c, missing/isnan.c.
32 lines of code changed in:
* bignum.c (rb_cstr_to_inum): unnecessarily long buffer was used
for radix 9. [ruby-dev:20057]
6 lines of code changed in:
* parse.y (block_append, value_expr0, assign_in_cond,
warn_unless_e_option, warning_unless_e_option, range_op,
cond0): adjust line number in warning.
45 lines of code changed in:
* gc.c (rb_gc): use rb_gc_mark_maybe() to mark registered C
addresses. C variables may not hold valid reference to Ruby
objects. [ruby-core:00975]
8 lines of code changed in:
* sample/test.rb: avoid the MSVCRT *printf problem(float).
[ruby-dev:20037]
13 lines of code changed in:
* marshal.c (w_float): append least mantissa bits to get rid
of roundoff problem. [ruby-talk:69518]
* marshal.c (r_object0): load least mantissa bits.
69 lines of code changed in:
* win32/win32.c (NtInitialize): set the floating-point control word
on bcc32.
* win32/win32.h, bcc32/Makefile.sub: use missing/isinf.c, should not
use _finite() because it returns 0 if NaN.
13 lines of code changed in:
modify typo.
1 lines of code changed in:
2003-04-20
4 lines of code changed in:
* parse.y (void_expr0): node might become NULL after calling remove_begin().
7 lines of code changed in:
2003-04-19
3 lines of code changed in:
* ext/Setup*: Add zlib and remove bogus and obsolete entries.
11 lines of code changed in:
* struct.c (rb_struct_eql): should compare values with "eql?".
* range.c (range_check): <=> returns nil for invalid values;
should check.
* regex.c (re_compile_pattern): should not set RE_OPTIMIZE_ANCHOR,
if anychar_repeat is enclosed by parentheses.
60 lines of code changed in:
2003-04-18
3 lines of code changed in:
* error.c (rb_raise): workaround for some implementation of
vsnprintf.
6 lines of code changed in:
* util.c (ruby_strtod): improved conversion accuracy.
82 lines of code changed in:
Bug in negative.exp(n) reported by Hitoshi Miyazaki fixed.
14 lines of code changed in:
* ext/dbm/dbm.c (each_pair): add prototype to avoid VC++ warnings.
* ext/readline/readline.c (Init_readline): follow readline 4.2
prototype.
15 lines of code changed in:
2003-04-17
3 lines of code changed in:
* parse.y (cond0): warn only range literals whose both side are
literals. [ruby-core:00964]
39 lines of code changed in:
* ext/readline/readline.c: add the defined operator for bcc32.
7 lines of code changed in:
* misc/ruby-mode.el (ruby-special-char-p): should test at the
point if no argument. fixed by Michael Scholz
<scholz-micha@gmx.de>.
7 lines of code changed in:
* lib/net/fileutils.rb: rm_r should raise Errno::ENOENT if file not exist. [ruby-core:958] Thanks Johan Holmberg.
6 lines of code changed in:
(ruby-bugs:PR#758)
1 lines of code changed in:
* struct.c (rb_struct_hash): new methods Struct#hash, Struct#eql?.
22 lines of code changed in:
2003-04-15
3 lines of code changed in:
* numeric.c (rb_fix2str): buffer was insufficient.
(ruby-bugs-ja:PR#431)
6 lines of code changed in:
* file.c (file_expand_path): root must follow buf when
reallocated. [ruby-talk:69339], [ruby-dev:20025]
7 lines of code changed in:
* rubyio.h (struct OpenFile): add error raise flag to finalizer.
* io.c (Init_IO): define $/, $-0, and $\ as string-only
variables.
* string.c (rb_str_split_m): does not generate empty string if
there's no match in the receiver.
* io.c (fptr_finalize): should raise error on EBADF for readable
IOs as well.
* file.c (rb_stat): use rb_check_convert_type() to retrieve IO.
42 lines of code changed in:
2003-04-14
3 lines of code changed in:
* bignum.c (rb_cstr_to_inum, rb_big2str): allow 2-36 as radix.
* numeric.c (rb_fix2str): ditto.
* string.c (rb_str_to_i): ditto.
98 lines of code changed in:
* lib/mkmf.rb (try_func): remove COMMON_HEADERS at first for performance.
5 lines of code changed in:
* misc/ruby-mode.el (ruby-forward-sexp): missed argument for forward-word.
1 lines of code changed in:
* misc/ruby-mode.el (ruby-beginning-of-arg): substitute
ruby-backward-arg.
* misc/ruby-mode.el (ruby-calculate-indent): fixed wrong
indentation in brace block and parentheses.
* misc/ruby-mode.el (ruby-forward-sexp, ruby-backward-sexp):
support special char literal, and negative arguments.
162 lines of code changed in:
* win32/win32.c (rb_w32_stat): check arguments. [ruby-dev:20007]
[ruby-win32:535]
13 lines of code changed in:
* sample/test.rb: NaN comparison test.
26 lines of code changed in:
* numeric.c (coerce_rescue): prevent inspected String from GC.
* numeric.c (flo_eq, rb_dbl_cmp, flo_gt, flo_ge, flo_lt, flo_le,
flo_eql): correct NaN comparison. (ruby-bugs:PR#744)
43 lines of code changed in:
* file.c (rb_stat): dereference using StringValuePtr().
* file.c (rb_file_s_stat): use rb_stat(). [ruby-dev:20007]
8 lines of code changed in:
2003-04-11
3 lines of code changed in:
* lib/benchmark.rb (Benchmark::bm): get rid of warning.
[ruby-talk:69124]
6 lines of code changed in:
* io.c (set_stdin): assigned value must respond to "read" and
"getc".
* io.c (set_outfile): assigned value must respond to "write".
(ruby-bugs-ja:PR#425)
31 lines of code changed in:
* lib/net/pop.rb: Exception line was accidentaly removed. [ruby-dev:19989]
6 lines of code changed in:
added some checks for request size.
8 lines of code changed in:
* variable.c (rb_mod_name): always return empty string for
anonymous class/module. (ruby-bugs-ja PR#424)
* config.sub: stop forcing addition of -gnu to -linux.
* variable.c (classname): refactoring.
* variable.c (rb_class_path): __tmp__classpath__ handling moved
from classname().
55 lines of code changed in:
* variable.c (rb_mod_name): search module path if classname is not
set yet. (ruby-bugs-ja PR#424)
10 lines of code changed in:
* eval.c (rb_obj_is_method): indefinite return value.
5 lines of code changed in:
2003-04-10
3 lines of code changed in:
* regex.c (re_compile_pattern): /[\--\-]/ was warned. warn /]/.
* mkconfig.rb: escape `]' in regexp.
12 lines of code changed in:
* time.c (time_strftime): RSTRING(format)->ptr might become NULL.
8 lines of code changed in:
* variable.c (rb_obj_remove_instance_variable): better message.
[ruby-talk:68987]
* variable.c (rb_mod_remove_const): ditto.
* object.c (rb_obj_ivar_get): ditto.
* object.c (rb_obj_ivar_set): ditto.
* parse.y (yylex): ditto.
* eval.c (rb_mod_define_method): Allow UnboundMethod as
parameter.
42 lines of code changed in:
* gc.c (rb_gc_mark_children): introduce this function again; this
is required when stack was very tight. [ruby-talk:68916]
40 lines of code changed in:
2003-04-09
3 lines of code changed in:
* bignum.c (bigdivmod): small typo.
5 lines of code changed in:
* bignum.c (BIGZEROP): macro to determine if x is a bignum zero.
37 lines of code changed in:
* ext/readline/readline.c: include <unistd.h> only when
HAVE_UNISTD_H is defined.
7 lines of code changed in:
* marshal.c (w_object): preserve extended module on struct.
(ruby-bugs-ja:PR#422)
25 lines of code changed in:
* random.c (rb_f_rand): normalize bignum argument.
* sprintf.c (rb_f_sprintf): was decrementing width even if there
is no sign character.
17 lines of code changed in:
2003-04-08
3 lines of code changed in:
* eval.c (Init_Proc): make Method and UnboundMethod independent.
They are like instance and its class. [ruby-core:00941]
* parse.y (yylex): disallow global variables like "$1ve".
[ruby-core:00945]
* marshal.c (marshal_dump): Marshal.dump(0, false) should cause an
error. (ruby-bugs-ja PR#421)
* regex.c (re_compile_pattern): warn if '-' is the edge of
character range.
29 lines of code changed in:
2003-04-07
3 lines of code changed in:
* ext/socket/socket.c (sock_s_unpack_sockaddr_in): remove struct
size check. getnameinfo(3) can handle. [ruby-dev:19967]
* io.c (io_read): do not call rb_sys_fail() when required data
length is zero. (ruby-bugs-ja PR#420)
* eval.c (umethod_proc): should raise TypeError, instead of
returning error causing Proc. Following the principle of "fail
early". [ruby-core:00927]
* pack.c (pack_pack): small but serious typo.
* eval.c (backtrace): skip internal allocator frame.
(ruby-bugs-ja PR#416)
31 lines of code changed in:
* zlib.c (rb_gzreader_getc): the return value of GzipReader#getc must be unsigned.
1 lines of code changed in:
* sample/exyacc.rb: use Regexp in gsub!.
6 lines of code changed in:
2003-04-04
3 lines of code changed in:
* eval.c (assign): should prepare mrhs by svalue_to_mrhs().
22 lines of code changed in:
2003-04-03
4 lines of code changed in:
* eval.c (rb_f_missing): use "inspect" for T_OBJECT as well.
26 lines of code changed in:
* README.EXT, README.EXT.ja (3.3): clarified -1 as free for
Data_Wrap_Struct(). [ruby-dev:19881]
10 lines of code changed in: