* ChangeLog: typo.
0 lines of code changed in:
* win32/win32.c (exit_handler): new function; release winsock and
environment work area.
* win32/win32.c (NTInitialize): setup exit_handler.
* win32/win32.c (StartSockets): use exit_handler.
exit handler.
* win32/win32.c (rb_w32_getenv): use GetEnvironmentStrings() instead
of GetEnvironmentVariable(), because the latter cannot distinguish
wheather a null environment variable exists or not.
fixed: [ruby-talk:205123]
45 lines of code changed in:
* test/ruby/test_process.rb (TestProcess#test_rlimit_nofile):
setrlimit may fail with EINVAL.
reported by MIYAMUKO Katsuyuki. [ruby-dev:29174]
11 lines of code changed in:
* ruby.h: use ifdef (or defined) for macro constants that may or
may not be defined to shut up gcc's -Wundef warnings.
[ruby-core:08447]
18 lines of code changed in:
* lib/logger.rb: improves the amount of documentation that Rdoc
picks up when processing logger.rb by moving the require
statement back before the comment block. a patch from Hugh
Sasse <hgs at dmu.ac.uk>. [ruby-core:08422]
22 lines of code changed in:
* lib/webrick/httprequest.rb (WEBrick::HTTPReuqest#parse_uri): improve
for the value of IPv6 address in the Host: header field.
65 lines of code changed in:
2006-07-31
3 lines of code changed in:
* eval.c (rb_call0): trace call/return of method defined from block.
fixed: [ruby-core:08329]
12 lines of code changed in:
* lib/cgi/session.rb, lib/cgi/session/pstore.rb: suppress warnings.
fixed: [ruby-talk:204896]
14 lines of code changed in:
2006-07-30
3 lines of code changed in:
* eval.c (rb_trap_eval): make the current thread runnable to deal with
exceptions which occurred within the trap. fixed: [ruby-dev:27729]
6 lines of code changed in:
* ext/tk/lib/multi-tk.rb: freeze ip_name for security reason.
5 lines of code changed in:
2006-07-29
3 lines of code changed in:
* ext/curses/curses.c (NUM2CH, CH2FIX): use single char strings.
18 lines of code changed in:
* eval.c (rb_call): fixed typo in cache look-up. [ruby-dev:29167]
5 lines of code changed in:
* eval.c (rb_call): a bug in method cache look-up.
http://www.rubyist.net/~matz/20060720.html#c04
7 lines of code changed in:
* sprintf.c (rb_f_sprintf): documentation update patch from Jacob
Fugal <lukfugl at gmail.com>. [ruby-core:08418]
12 lines of code changed in:
* time.c (time_to_s): fixed typo. [ruby-dev:29162]
5 lines of code changed in:
* math.c (domain_check): ANSI style function arguments
* math.c (math_log): too few argument to domain_check().
8 lines of code changed in:
2006-07-28
3 lines of code changed in:
* math.c (domain_check): a new function to check domain error
explicitly for systems that return NaN like FreeBSD.
[ruby-core:07019]
* math.c (math_acos, math_asin, math_acosh, math_atanh, math_log,
math_log10, math_sqrt): use domain_check().
* math.c (math_sqrt): fix documentation flaw.
40 lines of code changed in:
* time.c (time_to_s): fixed format mismatch.
5 lines of code changed in:
* time.c: need to declare time_utc_offset.
5 lines of code changed in:
* io.c (io_close): always calls "close" method of the receiver.
[ruby-core:6911] [ruby-core:8112]
12 lines of code changed in:
* ext/openssl/ossl.h: move <ruby.h> inclusion point to shut up
Solaris compiler. [ruby-core:08114]
* time.c (time_to_s): use +0900 style timezone string for local time.
[ruby-dev:29143]
15 lines of code changed in:
2006-07-27
3 lines of code changed in:
* time.c (time_to_s): generate RFC822 style date string.
[ruby-dev:29143]
22 lines of code changed in:
* configure.in: add support for as and ASFLAGS. [ruby-dev:29138]
13 lines of code changed in:
small document fix
1 lines of code changed in:
merge test cases with Ruby 1.8
74 lines of code changed in:
* lib/net/http.rb (Net::HTTP#post, request_post, request): should set Content-Type: x-www-form-urlencoded by default.
* lib/net/http.rb (Net::HTTPHeader#content_type): should return nil when there's no Content-Type.
* lib/net/http.rb (Net::HTTPHeader#sub_type): should return nil when there's no sub Content-Type (e.g. "Content-Type: text").
* lib/net/http.rb (Net::HTTPHeader#type_params): wrongly failed when there's no Content-Type.
69 lines of code changed in:
* ext/strscan/strscan.c (strscan_do_scan): always return nil if p->curr exceeds string size.
9 lines of code changed in:
* eval.c (Init_eval): rename #invoke_method and
#invoke_functional_method to __send and __send! respectively.
* eval.c (remove_method): prohibit removing __send and __send!.
* eval.c (rb_undef): prohibit undef'ing __send and __send!.
* eval.c (rb_eval): prohibit redefining __send and __send!.
* lib/delegate.rb (Delegator): preserve __send.
32 lines of code changed in:
* ext/pty/pty.c (getDevice): retry once after GC on failure.
[ruby-core:08282]
32 lines of code changed in:
* ext/strscan/strscan.c (strscan_do_scan): StringScanner.new("").scan(//) should return "". [ruby-Bugs:4361]
15 lines of code changed in:
* sprintf.c (rb_str_format): prepend ".." to %u for negative bignum,
but not "-". fixed: [ruby-core:08167]
21 lines of code changed in:
* string.c (rb_str_scan): add string modification check.
[ruby-core:7216]
7 lines of code changed in:
* lib/cgi.rb (CGI::QueryExtension::read_multipart): check
multipart boundary end. a patch from Fujioka <fuj at rabbix.jp>
[ruby-dev:28470]
9 lines of code changed in:
2006-07-26
3 lines of code changed in:
* configure.in: suppress warnings by automake 1.8 or later.
9 lines of code changed in:
* lib/mkmf.rb (configuration): typo.
5 lines of code changed in:
2006-07-25
3 lines of code changed in:
* process.c (rb_proc_times): rename hz to hertz to avoid name
crash on AIX. [ruby-dev:29126]
17 lines of code changed in:
* eval.c (backtrace): porting miss.
1 lines of code changed in:
* eval.c (backtrace): skip frames successive on node and method name.
7 lines of code changed in:
don't compare struct sockaddr directly.
2 lines of code changed in:
* eval.c (rb_call0): revert last change. [ruby-dev:29112]
[ruby-core:08374]
5 lines of code changed in:
* ext/readline/readline.c (readline_readline): rl_deprep_term_function
may be NULL with libedit. reported by Ryan Davis. [ruby-dev:29070]
8 lines of code changed in:
2006-07-24
3 lines of code changed in:
* test/socket/test_unix.rb: disabled on cygwin.
reported by Kouhei Yanagita. [ruby-dev:29080]
6 lines of code changed in:
2006-07-23
3 lines of code changed in:
* ruby.c (proc_options): script is never used while recursing.
10 lines of code changed in:
* object.c (rb_cstr_to_dbl): "9_e8" should consider "_e8" as
trailing garbage so that it should return 9.0. [ruby-dev:29088]
8 lines of code changed in:
* eval.c (rb_call0): include funcalled methods in caller list.
fixed: [ruby-core:08290]
6 lines of code changed in:
* ext/extmk.rb, lib/mkmf.rb (with_destdir): remove drive letter before
prepending destdir on DOSISH.
15 lines of code changed in:
* eval.c (rb_call): try local method look-up first for fcall, then
normal method look-up. [ruby-talk:202564]
* eval.c (rb_get_method_body): save local method cache separately.
* eval.c (search_method): export info whether method is local or
not.
51 lines of code changed in:
* object.c (rb_mod_attr): make Module#attr to be an alias to
attr_reader. [RCR#331]
* ruby.h: export classes/modules to implement sandbox.
[ruby-core:08283]
44 lines of code changed in:
* object.c (rb_mod_attr): make Module#attr to be an alias to
attr_reader. [RCR#331]
24 lines of code changed in:
* test/ruby/test_float.rb (TestFloat::test_strtod): update test to
conform strtod change.
10 lines of code changed in:
2006-07-21
3 lines of code changed in:
* lib/irb/completion.rb: support for completion of numeric
number. [ruby-dev: 29038]
20 lines of code changed in:
* eval.c (rb_yield_0): should check args_args before lambda
argument check. [ruby-dev:29029]
8 lines of code changed in:
2006-07-19
3 lines of code changed in:
patch was misapplied. fixed. sorry
1 lines of code changed in:
* process.c (rb_f_system): shouldn't block SIGCHLD if it's not
exist.
9 lines of code changed in:
* process.c (rb_f_system): block SIGCHLD during the process
execution, like glibc system(3) does. [ruby-talk:202361]
20 lines of code changed in:
* win32/win32.c (open_ifs_socket): should not use plain malloc.
* win32/win32.c (rb_w32_opendir): should not use plain realloc.
11 lines of code changed in:
* eval.c (yield_under_i): argument should be passed in avalue
from. [ruby-dev:29044]
8 lines of code changed in:
* pack.c (pack_unpack): propagate association array to copied
string. [ruby-core:08223]
* pack.c (pack_unpack): return referenced string itself if it has
same length as specified. a patch from <nobu at ruby-lang.org>
in [ruby-core:08225].
* pack.c (pack_pack): taint 'p' packed strings.
19 lines of code changed in:
* intern.h (st_foreach_safe): fix prototype.
* node.h (NODE_LMASK): bigger than long on LLP64.
* missing/vsnprintf.c (BSD__uqtoa): new function to support LLP64.
all changes are derived from [ruby-dev:29045]
79 lines of code changed in:
* process.c (rb_f_system): call rb_sys_fail(0) if rb_last_status
is nil. [ruby-talk:202361]
6 lines of code changed in:
* lib/webrick/httpserver.rb (WEBrick::HTTPServer::unmount): remove
inpect argument from sprintf. [ruby-dev:29039]
6 lines of code changed in:
* object.c (rb_cstr_to_dbl): limit out-of-range message.
* util.c (ruby_strtod): return end pointer even if ERANGE occurred.
fixed: [ruby-dev:29041]
22 lines of code changed in:
RD to RDoc conversion by Hugh Sasse.
109 lines of code changed in:
* util.c (ruby_strtod): stop at dot not followed by digits.
fixed: [ruby-dev:29035]
5 lines of code changed in:
* util.c (ruby_strtod): stop at dot not followed by digits.
fixed: [ruby-dev:29035]
2 lines of code changed in:
* ext/extmk.rb: remove LIBRUBY_SO if static linked extensions exist.
7 lines of code changed in:
2006-07-18
3 lines of code changed in:
* configure.in (rb_cv_msvcrt): defaulted to msvcrt. Workaround for a
bug of cygwin 1.5.20.
12 lines of code changed in:
* ext/io/wait/wait.c (io_ready_p): protoize.
* pack.c (define_swapx): should not use plain malloc.
* ext/curses/curses.c (curses_getmouse): ditto.
15 lines of code changed in:
* configure.in: should use ac_cv_lib_dl_dlopen=no on MinGW.
2 lines of code changed in:
* configure.in: set ac_cv_func_dlopen=no on MinGW.
5 lines of code changed in:
2006-07-17
3 lines of code changed in:
* st.c: still need to include config.h on some platforms.
5 lines of code changed in:
// comment removed.
0 lines of code changed in:
2006-07-15
3 lines of code changed in:
* st.c (malloc): use xmalloc/xcalloc instead of plain
malloc/calloc, to detect memory allocation failure. see
<http://www.nongnu.org/failmalloc/>.
12 lines of code changed in:
* ext/tk/lib/tk.rb: add methods for new features of latest Tcl/Tk8.5
* ext/tk/lib/tk/namespace.rb: ditto.
40 lines of code changed in:
Add monitor.rb
1 lines of code changed in:
* lib/monitor.rb: document patch from Hugh Sasse <hgs at dmu.ac.uk>.
[ruby-core:08205]
31 lines of code changed in:
2006-07-14
3 lines of code changed in:
* array.c (rb_ary_pop): may cause realloc oscillation. a patch
from MORITA Naoyuki <mlgetter at kidou.sakura.ne.jp>.
[ruby-dev:29028]
7 lines of code changed in:
* ext/tk/lib/tk/composite.rb: improve handling of the classname on the
option database for the widget class which includes TkComposite.
107 lines of code changed in:
2006-07-13
3 lines of code changed in:
* ruby.h (FIX2LONG): returns integer of size of VALUE.
[ruby-dev:29024]
* ruby.h (FIX2ULONG): ditto.
10 lines of code changed in:
2006-07-12
3 lines of code changed in:
* parse.y (f_args): allow post mandatory arguments after optional
arguments. [ruby-dev:29014]
* parse.y (new_args_gen): allow post_args without rest_args.
* eval.c (formal_assign): ditto.
* parse.y (new_args_gen): check post argument duplication.
56 lines of code changed in:
* ext/tk/lib/multi-tk.rb: remove restriction on the class of
pseudo-toplevel.
9 lines of code changed in:
* ext/tk/lib/multi-tk.rb: security fix.
11 lines of code changed in:
* string.c (rb_str_dump): need to extend len for \b.
5 lines of code changed in:
* bignum.c (rb_int2big): use SIGNED_VALUE. [ruby-dev:29019]
* bignum.c (rb_int2inum, rb_uint2inum): use VALUE sized integer.
* bignum.c (rb_big2long, rb_big2ulong): ditto.
* numeric.c (rb_num2long, rb_num2ulong): ditto.
* numeric.c (check_int, check_uint): ditto.
* bignum.c (rb_quad_pack): typo fixed.
65 lines of code changed in:
* bignum.c (bignorm): sizeof(long) may be smaller than
sizeof(VALUE). [ruby-dev:29013]
* ruby.h (FIXNUM_MAX): fixnum may be bigger than long.
* ruby.h (SIGNED_VALUE): signed integer of size of VALUE.
63 lines of code changed in:
2006-07-11
3 lines of code changed in:
remove an unused label and variable.
0 lines of code changed in:
* gc.c (gc_sweep): expand heap earlier.
reported by MORITA Naoyuki. [ruby-dev:28960]
15 lines of code changed in:
* ext/tk/lib/tk/font.rb: sorry. mistaken to patch.
5 lines of code changed in:
* ext/tk/tcltklib.c: make SEGV risk lower at exit.
* ext/tk/lib/tk.rb: ditto.
* ext/tk/lib/multi-tk.rb: fail to call function-style methods on slave
interpreters. The strategy (MultiTkIp_PseudoToplevel_Evaluable) to
fix the problem is a little tricky. You may have to take care of
conflicting with it.
* ext/tk/lib/tk.rb: a little change for the pseudo-toplevel strategy.
* ext/tk/lib/tk/font.rb: ditto.
* ext/tk/lib/tk/msgcat.rb: ditto.
* ext/tk/lib/tkextlib/itk/incr_tk.rb: ditto.
* ext/tk/sample/demos-en/widget: fail to call function-style methods
on sample scripts. To fix it, a strategy which similar to the way
on MultiTiIp is used. Please take care when re-write and re-run a
demo script on the Widget-Demo code viewer.
* ext/tk/sample/demos-jp/widget: ditto.
543 lines of code changed in:
* sample/test.rb: update test suites.
* test/ruby/test_assignment.rb (TestAssignment::test_yield): ditto.
* test/ruby/test_iterator.rb (TestIterator::test_itertest): ditto.
36 lines of code changed in:
* eval.c (rb_call): remove erroneously restored prot_tag->blkid
initialization. [ruby-dev:28997] [ruby-dev:29000]
5 lines of code changed in:
* signal.c (install_nativethread_sighandler): commented out.
12 lines of code changed in:
* ruby.h: typo.
1 lines of code changed in:
* eval.c (proc_invoke): should not overwrite block information in
current frame. [ruby-dev:28957]
* eval.c (rb_yield_0): retrieve proper block object from the frame
record.
* eval.c (proc_alloc): return preserved block object if it's
available.
* st.h (st_data_t): use pointer sized integer for st_data_t.
[ruby-dev:28988]
124 lines of code changed in:
2006-07-10
3 lines of code changed in:
* eval.c (rb_clear_cache_for_remove): clear entries for included
module. fixed: [ruby-core:08180]
7 lines of code changed in:
* lib/mkmf.rb (create_makefile): prevent substitution of macro
definition. fixed: http://www.yotabanana.com/lab/20060624.html#p02
5 lines of code changed in:
* lib/mkmf.rb (try_constant): fix for value 1 at cross compiling.
30 lines of code changed in:
cached rdoc diagrams, private rdoc comments, minor clarifications in debug.rb and pp.rb
55 lines of code changed in:
Massive rdoc for fortran overhaul from Yasuhiro Morikawa
1775 lines of code changed in:
2006-07-09
3 lines of code changed in:
* eval.c (next_jump): deal with destination of next.
fixed: [ruby-core:08169]
34 lines of code changed in:
update doc.
4 lines of code changed in:
2006-07-08
3 lines of code changed in:
Test class name should not be duplicated.
2 lines of code changed in:
should define FUNC_CDECL/STDCALL if the macros are not defined.
7 lines of code changed in:
* string.c (rb_str_ord): extract lower byte. fixed: [ruby-dev:28980]
* lib/jcode.rb (String#succ!): fix for 1.9. fixed: [ruby-dev:28979]
12 lines of code changed in:
* win32/Makefile.sub (config.h): define FUNC_STDCALL/FUNC_CDECL.
from [ruby-dev:28970].
7 lines of code changed in:
conformed to the usage of FUNC_CDECL/STDCALL described in [ruby-dev:28970].
9 lines of code changed in:
2006-07-07
3 lines of code changed in:
* process.c (rb_proc_times): use sysconf(_SC_CLK_TCK) value prior to
HZ and CLK_TCK. fixed: [ruby-talk:200293]
35 lines of code changed in:
* ext/racc/cparse/cparse.c: sync with original code, rev 1.8.
* ext/racc/cparse/cparse.c: should mark CparseParams objects.
* lib/racc/parser.rb: sync with original code, rev 1.8.
* lib/racc/parser.rb: update coding style.
98 lines of code changed in:
2006-07-06
3 lines of code changed in:
* test/ruby/test_lambda.rb (TestLambdaParameters::test_lambda_as_iterator):
-> style block no longer available. [ruby-dev:28958]
6 lines of code changed in:
2006-07-05
3 lines of code changed in:
* ruby.c (proc_options): supress warning on DOSISH.
6 lines of code changed in:
* eval.c (rb_call): should not set prot_tag->blkid since it would
never catch breaks at this level. [ruby-dev:28922]
16 lines of code changed in:
* eval.c (rb_call): should not set prot_tag->blkid since it would
never catch breaks at this level. [ruby-dev:28922]
1 lines of code changed in:
* bignum.c: ruby 1.9 HEAD 64 bit warnings clean up from
<ville.mattila at stonesoft.com>. [ruby-core:08120]
* ChangeLog: remove some direct reference to mail addresses
to prevent spams.
108 lines of code changed in:
2006-07-04
3 lines of code changed in:
* ext/tk/tcltklib.c (ip_make_menu_embeddable): help to make a menu
widget embeddable (pack, grid, and so on) like as a general widget.
However, an embeddable menu may require to be definied some event
bindings for general use.
* ext/tk/lib/tk/event.rb: [bug fix] Tk.callback_break and
Tk.callback_continue don't work on MultiTkIp.
* ext/tk/lib/multi-tk.rb: ditto.
* ext/tk/lib/tk.rb: lack of Tk.callback_return.
* ext/tk/lib/tk/menu.rb: improve creating clone menus.
317 lines of code changed in:
fix typos.
3 lines of code changed in:
* ext/etc/extconf.rb (PW_UID2VAL, PW_GID2VAL): defaulted to conversion
from int, and sys/types.h needs to be included before grp.h.
fixed: [ruby-dev:28938]
10 lines of code changed in:
* io.c (popen_exec): close file descriptors other than standard I/Os.
fixed: [ruby-dev:28924]
6 lines of code changed in:
* test/openssl/test_asn1.c: String#[]= doesnt't accept Integer.
5 lines of code changed in:
2006-07-03
3 lines of code changed in:
* string.c (rb_str_inspect): encode \b (\010) for escape.
[ruby-dev:28927]
* string.c (rb_str_dump): ditto.
15 lines of code changed in:
cancelled r1.25
0 lines of code changed in:
* ext/racc/cparse/cparse.c: sync with original code, rev 1.7.
* ext/racc/cparse/cparse.c: must require version.h to get RUBY_VERSION_CODE.
10 lines of code changed in:
* ext/racc/cparse/cparse.c: sync with original source code, rev 1.6.
* ext/racc/cparse/cparse.c: do not use rb_iterate to give a block to the method, use rb_block_call instead. [ruby-dev:28445]
47 lines of code changed in:
* io.c (io_reopen): STDOUT.reopen(filename, "w+") didn't work.
(rb_io_reopen): STDOUT.reopen(File.open(filename, "w+")) didn't work.
This commit is a result of hacks at the CodeFest Akihabara 2006 hosted by FSIJ.
9 lines of code changed in:
2006-07-02
3 lines of code changed in:
* eval.c (PUSH_FRAME): initialize frame->self. [ruby-dev:28911]
* configure.in: should test isinf for Solaris with GCC compiler.
a patch from <ville.mattila at stonesoft.com>. [ruby-core:07791]
* configure.in: -shared patch from Andrew Morrow
<andrew.c.morrow at gmail.com>. [ruby-core:08100]
10 lines of code changed in:
* test/webrick/utils.rb: use Proc#yield instead of Proc#call.
[ruby-dev:28914]
5 lines of code changed in:
* test/webrick/utils.rb: use Proc#yield instead of Proc#call.
[ruby-dev:28914]
1 lines of code changed in:
add a note for cygwin empty UDP packet problem.
This commit is a result of hacks at the CodeFest Akihabara 2006 hosted by FSIJ.
6 lines of code changed in:
* test/socket/test_nonblock.rb: add timeout to send/receive
an empty UDP packet.
[ruby-dev:28820]
11 lines of code changed in: