Project

General

Profile

Activity

From 11/18/2012 to 11/24/2012

11/24/2012

06:51 PM Revision 37839: Move tests embedded in lib/set.rb to test/test_set.rb.
knu (Akinori MUSHA)
06:46 PM Revision 37838: String#{lines,chars,codepoints,bytes} now return an array.
* string.c (rb_str_each_line, rb_str_lines): String#lines now
returns an array instead of an enumerator. Passing a...
knu (Akinori MUSHA)
05:14 PM Revision 37837: * 2012-11-25
svn
05:14 PM Revision 37836: Fix tests of rb_warning().
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_warning)
(Test::Unit::Assertions#assert_warn), test/ruby/envu...
knu (Akinori MUSHA)
12:26 PM Revision 37835: gc.c: refactoring to rename variables
* gc.c (wmap_final_func): rename variables to clarify the meaning.
In wmap2obj the key is WeakRef and the value is ...
shirosaki
12:26 PM Revision 37834: Fix WeakRef finalize
* array.c (rb_ary_delete_same_obj): new function for WeakRef.
This deletes same objects as item argument in the arr...
shirosaki
12:09 PM Revision 37833: * ext/nkf/nkf-utf8/nkf.c (unicode_iconv_combine): returning flags are
nkf_char. naruse (Yui NARUSE)
10:31 AM Revision 37832: * test/ruby/test_rubyoptions.rb (test_usage, test_usage_long):
reduced, renamed. tadf (tadayoshi funaba)
07:43 AM Revision 37831: Rvert r37827 and r37828
Revert "Fix finalize of WeakRef"
This causes segv on rubyspec.
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/2012112...
naruse (Yui NARUSE)
04:12 AM Revision 37830: * vm_trace.c (rb_tracepoint_attr_raised_exception): should not check
value before event checking.
* vm_trace.c (rb_tracepoint_attr_return_value): ditto.
* test/ruby/test_settracefunc.rb:...
ko1 (Koichi Sasada)
04:01 AM Revision 37829: Fix TestProcess#test_setsid
* test/ruby/test_process.rb (TestProcess#test_setsid): "./ruby-trunk"
doesn't work on all environments. EnvUtil.rub...
shirosaki
04:01 AM Revision 37828: Fix Segmentation fault at TestArray#test_aref
* array.c (rb_ary_aref): fix Segmentation fault at TestArray#test_aref
on x64 mingw. Variable argument of rb_scan_a...
shirosaki
04:01 AM Revision 37827: wmap_finalize: refactoring to rename variables
* gc.c (wmap_final_func): rename variables to clarify the meaning.
In wmap2obj the key is WeakRef and the value is ...
shirosaki
04:01 AM Revision 37826: Fix finalize of WeakRef
* gc.c (wmap_final_func): remove WeakRef object reference from the
array.
* gc.c (wmap_finalize): remove recycled ...
shirosaki
02:51 AM Revision 37825: * process.c (proc_getsid): adds new method for getting session id.
Contributed from fumiyas (Fumiyasu SATOH). Thank you!
[Feature #6757] [ruby-dev:45977]
* configure.in: adds getsid ...
kosaki (Motohiro KOSAKI)
02:00 AM Revision 37824: * thread.c (thread_create_core): don't use th->thread_id before
initialized. kosaki (Motohiro KOSAKI)

11/23/2012

03:00 PM Revision 37823: ruby.c: argv check
* ruby.c (proc_options, process_options, ruby_process_options): take
care of the case argc is 0, and check if argv ...
nobu (Nobuyoshi Nakada)
03:00 PM Revision 37822: * 2012-11-24
svn
03:00 PM Revision 37821: configure.in: --disable-dln
* configure.in (--disable-dln): option to disable dynamic linking
feature. [ruby-core:37676] [Feature #4946]
nobu (Nobuyoshi Nakada)
02:44 PM Revision 37820: mkmf.rb: mingw64+MSYS pkg-config fix
* lib/mkmf.rb (MakeMakefile#pkg_config): strip all white spaces for
mingw64+MSYS pkg-config which errouneously emit...
nobu (Nobuyoshi Nakada)
01:49 PM Revision 37819: mkrunnable.rb: static-linked-ext
* tool/mkrunnable.rb: make archdir for static-linked-ext. nobu (Nobuyoshi Nakada)
08:31 AM Revision 37818: ruby.c: wrap descriptions
* ruby.c (usage): wrap description lines if options are too long. nobu (Nobuyoshi Nakada)
08:31 AM Revision 37817: * ruby.c, test/ruby/test_rubyoptions.rb: revert r37815:r37816.
nobu (Nobuyoshi Nakada)
03:35 AM Revision 37816: * ruby.c: revert r37298.
tadf (tadayoshi funaba)
02:41 AM Revision 37815: * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_usage2):
revert the previous. tadf (tadayoshi funaba)
02:13 AM Revision 37814: test_rubyoptions.rb: refine assertion
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_usage2): refine
assertion.
nobu (Nobuyoshi Nakada)
02:12 AM Revision 37813: test_rubyoptions.rb: --help
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_usage2): now
--help option is for modern terminals.
nobu (Nobuyoshi Nakada)
01:46 AM Revision 37812: * ext/socket/ipsocket.c (IPSocket#peeraddr): Fix example
[ruby-core:46429] [Bug #6732] zzak (Zachary Scott)

11/22/2012

05:42 PM Revision 37811: * lib/cgi/core.rb: Documentation for CGI#header alias
Based on a patch by Marcus Stollsteimer
[ruby-core:49585] [Bug #7405]
zzak (Zachary Scott)
03:04 PM Revision 37810: * 2012-11-23
svn
03:03 PM Revision 37809: * gc.c (is_swept_object): extract from is_dead_object().
* gc.c (rb_gcdebug_print_obj_condition): add the function for debug.
This function shows some conditions of given o...
nari
02:55 PM Revision 37808: Fix cache validity check of require
* array.c (rb_ary_shared_with_p): fix cache validity check.
If #pop or #shift has been called against $: or $", the...
shirosaki
01:00 PM Revision 37807: fix typos
kazu
12:49 PM Revision 37806: * common.mk, win32/Makefile.sub (probes.dmyh): now be made in current
(=build) directory if build from the repository. usa (Usaku NAKAMURA)
12:36 PM Revision 37805: * test/ruby/test_rubyoptions.rb: added a test.
tadf (tadayoshi funaba)
11:32 AM Revision 37804: * complex.c (string_to_c_strict, string_to_c): check NUL.
* rational.c (string_to_r_strict, string_to_r): ditto. tadf (tadayoshi funaba)
11:25 AM Revision 37803: * Makefile.in (.dmyh.h): removed $(VPATH). GNU make don't
recognize suffix rule with VPATH. kosaki (Motohiro KOSAKI)
09:16 AM Revision 37802: * common.mk, Makefile.in, win32/Makefile.sub (.dmyh.h): nmake merges
explicit rules for same target, but not merges exlicit rules and
implicit rules -- always explict rules win. So, n...
usa (Usaku NAKAMURA)
09:03 AM Revision 37801: * Makefile.in (probes.o): add -C to ignore #include in probes.d.
* probes.d: include vm_opts.h instead of vm_core.h.
* vm_opts.h (VM_COLLECT_USAGE_DETAILS): move definition from vm_...
naruse (Yui NARUSE)
08:47 AM Revision 37800: * ext/nkf/nkf-utf8: Merge b0a6577a521d1bba5e19853f95d5c4b9be1072b5.
Support JIS X 0213 and some bugfixes. naruse (Yui NARUSE)
08:41 AM Revision 37799: * tool/gen_dummy_probes.rb: don't change #include, #if and #endif
lines. [Bug #7370] kosaki (Motohiro KOSAKI)
08:01 AM Revision 37798: * Makefile.in: run preprocessor when making probe.h
* probes.d: define probe insn and insn__operand only when
VM_COLLECT_USAGE_DETAILS is 1. [Bug #7370]
kosaki (Motohiro KOSAKI)
07:23 AM Revision 37797: * vm.c: Don't define vm_collect_usage_operand() and
static void vm_collect_usage_insn() when disabling
VM_COLLECT_USAGE_DETAILS. (refix r37796)
kosaki (Motohiro KOSAKI)
06:28 AM Revision 37796: * vm_insnhelper.h: partly revert r37631 (DTrace support).
"vm usage information is always collected, so uncomment the
functions." causes performance impact. [Bug #7370]
Of...
naruse (Yui NARUSE)
05:54 AM Revision 37795: Drop executable bits of files that are not executable.
knu (Akinori MUSHA)
05:32 AM Revision 37794: Drop executable bits.
knu (Akinori MUSHA)
05:23 AM Revision 37793: Apply performance improvement to short byte array search.
* re.c (rb_memsearch_ss): Apply performance improvement to short
byte array search for platforms without memmem(3)....
knu (Akinori MUSHA)
05:02 AM Revision 37792: Add some corner cases to tests for String#index.
* test/ruby/test_string.rb (TestString#test_index): Add some
corner cases to tests for String#index, which might fa...
knu (Akinori MUSHA)

11/21/2012

11:09 PM Revision 37791: * test/ruby/test_gc.rb (test_profiler_clear): fix wrong method
calls [Bug #7419] [ruby-core:49828]. nari
05:26 PM Revision 37790: * 2012-11-22
svn
05:25 PM Revision 37789: * NEWS: edited (order etc).
tadf (tadayoshi funaba)
02:37 PM Revision 37788: fix typos
kazu
01:54 PM Revision 37787: property.
nobu (Nobuyoshi Nakada)
01:53 PM Revision 37786: wait.c: wait_readable
* ext/io/wait/wait.c (io_wait_readable): add alias wait_readable. nobu (Nobuyoshi Nakada)
01:40 PM Revision 37785: io/wait: add IO#wait_writable method
* ext/io/wait/wait.c (io_wait_writable): this is easier to use than
IO.select for a single IO object and is immune ...
nobu (Nobuyoshi Nakada)
01:31 PM Revision 37784: * gc.c (garbage_collect): remove a duplicative probe.
nari
01:15 PM Revision 37783: * gc.c (gc_profile_clear): realloc profile records if its size is
higher than the threshold, GC_PROFILE_RECORD_DEFAULT_SIZE * 2. nari
12:54 PM Revision 37782: * complex.c (nucomp_to_c): added.
tadf (tadayoshi funaba)
12:42 PM Revision 37781: * include/ruby/util.h: removed extra semicolon in definition of
macro.
* compile.c: ditto.
* cont.c: ditto.
* math.c: ditto.
* node.c: ditto.
* parse.y: ditto.
tadf (tadayoshi funaba)
09:48 AM Revision 37780: * rational.c (read_digits): due to a bit tighter rb_cstr_to_inum().
tadf (tadayoshi funaba)
07:36 AM Revision 37779: add a ML number
ko1 (Koichi Sasada)
07:16 AM Revision 37778: add a description on ChangeLog
ko1 (Koichi Sasada)
07:15 AM Revision 37777: * benchmark/bm_so_nsieve_bits.rb: add an encoding pragma.
ko1 (Koichi Sasada)
05:09 AM Revision 37776: revert r37710, requested by Tadayoshi Funaba [ruby-dev:46575]
shyouhei (Shyouhei Urabe)
04:23 AM Revision 37775: * range.c (rb_range_beg_len): Fix potential bug for limit case [#6203]
marcandre (Marc-Andre Lafortune)

11/20/2012

04:00 PM Revision 37774: * file.c (Init_File): null device definition uses rb_define_const
instead of rb_file_const. kosaki (Motohiro KOSAKI)
03:29 PM Revision 37773: * test/ruby/test_m17n_comb.rb (test_str_crypt): Use RbConfig to get
libc's directory. Patched by Vit Ondruch [ruby-core:49763] [Bug #7312] naruse (Yui NARUSE)
03:17 PM Revision 37772: * marshal.c: add marshal readahead. marshalized Array, Hash and Struct
have size at least number of its elements, marshal readahead will
read the certain readable length and buffer when ...
glass
03:03 PM Revision 37771: * 2012-11-21
svn
03:03 PM Revision 37770: * array.c (rb_get_values_at): Improve rdoc
marcandre (Marc-Andre Lafortune)
02:53 PM Revision 37769: * NEWS: List incompatible change for Array#values_at [#6203]
marcandre (Marc-Andre Lafortune)
01:48 PM Revision 37768: * Makefile.in (.d.h): replace char * to const char * because somehow
current dtrace removes const of function declaration in probes.d. naruse (Yui NARUSE)
01:17 PM Revision 37767: fix a typo
kazu
01:09 PM Revision 37766: fix guards for glibc crypt(3) see #7312
naruse (Yui NARUSE)
12:57 PM Revision 37765: * include/ruby/debug.h: introdudced.
Debugging/profiling features will be located.
* vm_trace.c: expose C-level TracePoint APIs.
Note that they are expe...
ko1 (Koichi Sasada)
12:49 PM Revision 37764: * configure.in (RUBY_DTRACE_AVAILABLE): only check dtrace availability.
* configure.in (RUBY_DTRACE_POSTPROCESS): restore. naruse (Yui NARUSE)
12:41 PM Revision 37763: fix typos
kazu
12:39 PM Revision 37762: fix typos
kazu
12:39 PM Revision 37761: fix indent
kazu
12:34 PM Revision 37760: file.c: fix rdoc
* file.c (rb_file_s_extname): fix rdoc for an edge case. nobu (Nobuyoshi Nakada)
12:34 PM Revision 37759: remove trailing spaces.
nobu (Nobuyoshi Nakada)
12:34 PM Revision 37758: * test/win32ole/test_win32ole_type.rb (test_implemented_ole_types):
IShellDispatch6 bundled in Windows 8. Thanks to phasis68 (Heesob
Park). [ruby-core:49580][Bug #7403]
suke (Masaki Suketa)
12:10 PM Revision 37757: * complex.c: some improvements.
* rational.c: ditto. tadf (tadayoshi funaba)
12:01 PM Revision 37756: common.mk: fix for BSD make
* common.mk (incs): BSD make cannot deal with non-prefixed dependency
and prefixed target.
nobu (Nobuyoshi Nakada)
11:13 AM Revision 37755: * array.c (rb_ary_bsearch): fix rdoc bug (O(n log n) -> O(log n)).
Patch by Charlie Somerville. [ruby-core:49661] [Bug #7409]
* range.c (range_bsearch): ditto.
mame (Yusuke Endoh)
11:13 AM Revision 37754: add a ticket number
ko1 (Koichi Sasada)
11:05 AM Revision 37753: * vm_trace.c: rename and add TracePoint APIs.
(1) TracePoint.new(...){...} creates a new trace point
but does not make it enable.
(2) TracePoint.trace(...){......
ko1 (Koichi Sasada)
09:48 AM Revision 37752: * vm_trace.c: add two methods:
(1) TracePoint#return_value which returns return
value on the :return and :c_return event.
(2) TracePoint#raised_...
ko1 (Koichi Sasada)
08:47 AM Revision 37751: Add extra line to prevent syntax error
naruse (Yui NARUSE)
08:35 AM Revision 37750: * configure.in: fix dtrace didn't work on darwin.
* configure.in (RUBY_DTRACE_AVAILABLE): unify RUBY_DTRACE_POSTPROCESS
and RUBY_DTRACE_BSD_BROKEN.
naruse (Yui NARUSE)
06:37 AM Revision 37749: * file.c (File.extname): Documentation for extname on dotfiles and
files ending with a dot. Also, added example for this.
[ruby-core:47852] [Bug #7112]
zzak (Zachary Scott)
05:39 AM Revision 37748: fix typo
kosaki (Motohiro KOSAKI)
05:39 AM Revision 37747: * test/ruby/test_signal.rb (TestSignal#test_signame): fix windows
test failure. Process.kill on windows can't send a signal to
another process.
kosaki (Motohiro KOSAKI)
05:00 AM Revision 37746: * io.c (Init_IO): removed all rb_file_const() into file.c.
* file.c (Init_File): replace with rb_file_const() with
rb_define_const() because RDoc don't care rb_file_const.
...
kosaki (Motohiro KOSAKI)
03:37 AM Revision 37745: * ruby.c (usage_msg): Fix typo [ruby-core:49205] [Bug #7327]
zzak (Zachary Scott)
03:34 AM Revision 37744: * file.c (File::NULL): Document File::NULL constant
[ruby-core:49384] [Bug #7365] zzak (Zachary Scott)
03:07 AM Revision 37743: * win32/win32.c (rb_w32_read): Windows 8 fixed one of a bug of console
API.
based on the patch by Heesob Park at [ruby-core:49479] [Bug #7379]
usa (Usaku NAKAMURA)
02:21 AM Revision 37742: * configure.in (--enable-dtrace): always call RUBY_DTRACE_BSD_BROKEN
for portability.
As the note, FreeBSD 8 has DTrace as the optional
feature (it is enabled by the build option), b...
naruse (Yui NARUSE)
02:05 AM Revision 37741: * lib/tracer.rb (Tracer.trace_func): printf to stdout
Patch by Michal Fojtik [ruby-core:45219] [Bug #6490] zzak (Zachary Scott)
01:21 AM Revision 37740: revert r37730
kosaki (Motohiro KOSAKI)
01:18 AM Revision 37739: Revert "* configure.in (--enable-dtrace): change help message"
This reverts commit 029b59ba53d0cc42630d623b52d94cae0df62734.
When $rb_cv_prog_dtrace_g is yes on FreeBSD even if /us...
naruse (Yui NARUSE)
12:51 AM Revision 37738: * 2012-11-20
svn
12:51 AM Revision 37737: Remove probes.o before update
naruse (Yui NARUSE)
12:50 AM Revision 37736: Don't send INT signal itself.
On make test-all, it kills the process. naruse (Yui NARUSE)

11/19/2012

02:12 PM Revision 37735: * configure.in (--enable-dtrace): change help message
* configure.in (--enable-dtrace): remove ineffective "else AS_CASE ..."
because the variable $rb_cv_prog_dtrace_g i...
ngoto (Naohisa Goto)
01:31 PM Revision 37734: * vm_backtrace.c (vm_backtrace_to_ary): fix a typo of an variable name.
nagachika (Tomoyuki Chikanaga)
12:37 PM Revision 37733: * vm_dump.c: not to include probes.h because the code does not depend
on it.
* common.mk (vm_dump.$(OBJEXT)): remove dependency on probes.h
ngoto (Naohisa Goto)
11:15 AM Revision 37732: * thread.c (rb_thread_s_check_interrupt): removed redundant
GET_THREAD(). kosaki (Motohiro KOSAKI)
11:13 AM Revision 37731: * thread.c (rb_threadptr_async_errinfo_active_p): added a small
comment. kosaki (Motohiro KOSAKI)
11:10 AM Revision 37730: * thread.c, vm_core.h: big rename th to cur_th when works only
th is current thread. kosaki (Motohiro KOSAKI)
11:07 AM Revision 37729: * thread.c (rb_thread_blocking_region_end): replaced GET_THREAD()
with ruby_thread_from_native(). We don't have GVL here. kosaki (Motohiro KOSAKI)
11:04 AM Revision 37728: * thread.c (rb_threadptr_execute_interrupts) removed.
* thread.c (rb_threadptr_execute_interrupts_common) renamed to
rb_threadptr_execute_interrupts. I.e. unified
rb_t...
kosaki (Motohiro KOSAKI)
10:54 AM Revision 37727: * signal.c (rb_get_next_signal): removed pointless signal
disabling. pthread_sigmask() only changes current thread
mask.
kosaki (Motohiro KOSAKI)
10:38 AM Revision 37726: * signal.c (install_sighandler): added comments why we need
rb_disable_interrupt(). kosaki (Motohiro KOSAKI)
10:35 AM Revision 37725: * signal.c (rb_disable_interrupt, rb_enable_interrupt): removed
USE_TRAP_MASK.
* signal.c (trap_arg, trap_ensure): removed.
* signal.c (trap, sig_trap): removed pointless signal dis...
kosaki (Motohiro KOSAKI)
10:22 AM Revision 37724: * prelude.rb: Moved Mutex#synchronize to
* thread.c (rb_mutex_synchronize_m): here. [Bug #4266] kosaki (Motohiro KOSAKI)
09:43 AM Revision 37723: * signal.c (sig_signame): implements Signal.signame method
[Feature #5613]
* test/ruby/test_signal.rb (test_signame): adds test for above
* NEWS: add an item about above
kosaki (Motohiro KOSAKI)
07:54 AM Revision 37722: struct.c: fix typo
* struct.c (rb_struct_each_pair): fix typo. [Bug #7382] nobu (Nobuyoshi Nakada)
07:31 AM Revision 37721: struct.c: yield assoc in each_pair
* struct.c (rb_struct_each_pair): yield associated pairs so that
an unsplat argument can get both, for consistency ...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 37720: configure.in: no -lelf
* configure.in (LIBS): libelf is need on only FreeBSD. nobu (Nobuyoshi Nakada)
07:08 AM Revision 37719: common.mk: no purelib
* common.mk (RUBYLIB): purelib option in runruby.rb is deprecated
since r28841, so set to an empty list to get rid ...
nobu (Nobuyoshi Nakada)
06:41 AM Revision 37718: * .travis.yml (script): add OPTS=-v, requested by @_ko1.
shyouhei (Shyouhei Urabe)
06:11 AM Revision 37717: * configure.in: fix didn't enable_dtrace=yes on auto.
* configure.in: see enable_dtrace for adding libelf on FreeBSD.
* common.mk: VPATH is not needed.
naruse (Yui NARUSE)
06:07 AM Revision 37716: * thread.c: add `Thread#backtrace_locations' method.
This method is similart to `caller_locations' method for
specific method.
And fix to accept `level' and `n' param...
ko1 (Koichi Sasada)
05:56 AM Revision 37715: * Makefile.in, common.mk (probes.h): moved to common.mk and changed to
see $(srcdir).
* common.mk (probes.dmyh): now created it on $(srcdir) always.
* win32/Makefile.sub (.SUFFIXES): rem...
usa (Usaku NAKAMURA)
02:06 AM Revision 37714: * common.mk (vm_dump.o): depend probes.h.
naruse (Yui NARUSE)
01:04 AM Revision 37713: * Makefile.in (.SUFFIX): bsdmake needs .SUFFIX is defined before use.
* common.mk: fix path of probes.dmyh.
* configure.in: FreeBSD's USDT requires libelf.
naruse (Yui NARUSE)

11/18/2012

04:30 PM Revision 37712: * 2012-11-19
svn
04:30 PM Revision 37711: * vm_core.h, probes_helper.h (RUBY_DTRACE_FUNC_ENTRY_HOOK,
RUBY_DTRACE_FUNC_RETURN_HOOK): move from vm_core.h to new file
probes_helper.h for narrowing dependency to probes.h...
ngoto (Naohisa Goto)
11:55 AM Revision 37710: * bignum.c (rb_cstr_to_inum): should accept underscores of
sequence of two or more when unchecked mode. tadf (tadayoshi funaba)
08:24 AM Revision 37709: * configure.in, Makefile.in, common.mk: support DTrace on Solaris 10,
based on r26235 by Yugui. On Solaris 10, low optimization level
may also be needed, e.g. optflags="-xO1" or "-xO0" ...
ngoto (Naohisa Goto)
12:35 AM Revision 37708: * complex.c (read_comp): mathn compliant.
* rational.c (read_num): ditto. tadf (tadayoshi funaba)
12:26 AM Revision 37707: trivial changes.
tadf (tadayoshi funaba)
 

Also available in: Atom