suke
854d955393
* ext/win32ole/win32ole.c (Init_win32ole): remove duplicate line.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-03 10:48:02 +00:00
akr
53329fb622
refine configure message of broken erfc of glibc-2.3 on IA64.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-03 08:50:23 +00:00
akr
f8348e1124
* configure.in (erfc): erfc of glibc comes with Debian GNU/Linux Etch
...
on IA64 is broken. erfc(10000.0) aborts.
use missing/erf.c instead.
http://sources.redhat.com/ml/libc-hacker/2005-08/msg00008.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-03 07:22:06 +00:00
matz
3819f8d156
* lib/net/smtp.rb (Net::SMTP::start): use 'localhost' instead of
...
'localhost.localdomain'. [ruby-dev:35333]
* lib/net/smtp.rb (Net::SMTP::SMTP.start): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-03 03:54:25 +00:00
nobu
f0816c0dff
* Makefile.in (SET_LC_MESSAGES): LC_MESSAGES must be C.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-02 22:06:05 +00:00
nobu
bb350b04e5
* eval.c (Init_eval), gc.c (Init_GC), proc.c (Init_Proc): freeze
...
messages of preallocated special exceptions also.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-02 22:02:58 +00:00
nobu
7f637ab96f
* gc.c (rb_during_gc): VALUE cache is irrelevant.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-02 19:39:33 +00:00
mame
f5e45d00eb
* regint.h (GET_ALIGNMENT_PAD_SIZE, ALIGNMENT_RIGHT): cast pointer to
...
uintptr_t instead of unsigned int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-02 16:45:05 +00:00
mame
104e841390
* sprintf.c: include ieeefp.h to refer isinf.
...
* ext/bigdecimal/bigdecimal.c: ditto.
* ext/json/ext/generator/generator.c: ditto.
* rational.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-02 16:24:11 +00:00
mame
ac6fd9384d
* missing/tgamma.c (tgamma): remove unused variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-02 16:02:52 +00:00
suke
b892e3dd1b
* ext/win32ole/win32ole.c: avoid creating Ruby object during
...
GC. thanks to arton <artonx AT yahoo.co.jp>. [ruby-dev:35313]
* test/win32ole/test_win32ole_event.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-02 15:35:04 +00:00
svn
d2926df775
2008-07-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-02 15:18:48 +00:00
suke
8519afcb41
* gc.c: add rb_during_gc(). based on a patch from arton <artonx AT
...
yahoo.co.jp> at [ruby-dev:35313].
* include/ruby/intern.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-02 15:18:44 +00:00
nari
5c72ffe769
format changelog.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-02 01:19:25 +00:00
nari
9f2208b40c
write changelog
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-02 01:07:12 +00:00
nari
8bccb5f266
*gc.c (gc_lazy_sweep) : use lazy sweep algorithm for response performance gain.
...
(garbage_collect_force) : mark and lazysweep invoke, after erasing all mark.
(GC_NOT_LAZY_SWEEP) : not lazy sweep flag. for debug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-02 00:49:10 +00:00
mame
9e2a51ccb6
* test/ruby/test_settracefunc.rb: fix expected traces for
...
RubyVM::FrozenCore's event and r17744.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 18:43:25 +00:00
ko1
9a61579c16
* compile.h, insns.def: reduce insn operand of "trace".
...
* include/ruby/ruby.h: add RUBY_EVENT_COVERAGE event.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 18:13:22 +00:00
ko1
ab109c36f1
* proc.c, vm.c: fix to refer next ruby level cfp to make binding.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 17:11:35 +00:00
usa
6d625e4b6e
* insns.def (trace): C99ism.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 16:59:20 +00:00
svn
47db28bc7b
2008-07-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 16:55:35 +00:00
mame
5874de95e8
* Add coverage measurement constant COVERAGE__. This constant is not
...
for casual use. Usage: (1) assign {} to COVERAGE__, (2) require or
load Ruby source file, and (3) COVERAGE__["sourcefilepath"] will
return an array whose elements represent number of executions per
line of source code.
* vm_core.h: add field of coverage array to iseq.
* iseq.c (prepare_iseq_build): ditto.
* insns.def (trace): update coverage array.
* parse.y (coverage): create and initialize coverage array.
* compile.h (ADD_TRACE): add trace instruction to update covearge
array.
* thread.c (clear_coverage): delete coverage array when forking.
Otherwise, double count of coverage may occur.
* lib/coverage.rb: sample coverage measurement tool.
* error.c: distinguish explicitly between parse_in_eval and
mild_compile_error.
* load.c: ditto.
* vm_eval.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 16:55:30 +00:00
mame
498324c5d3
* lib/test/unit/ui/console/testrunner.rb: prevent destructive modification to $0.
...
* test/rubygems/gemutilities.rb (build_rake_in): move from test_gem_ext_rake_builder.rb.
* test/rubygems/test_gem_ext_rake_builder.rb: ditto.
* test/rubygems/test_gem_installer.rb: override Gem.ruby and ENV["rake"].
* test/rubygems/test_gem_uninstaller.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 12:33:11 +00:00
ko1
807fbd6940
* compile.c, vm.c, insns.def: call FrozenCore.set_postexe method
...
instead to use "postexe" insn.
* id.c, id.h: add a prepared id for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 12:19:00 +00:00
shyouhei
1b62e5ec37
* lib/mkmf.rb (create_tmpsrc): we need to include COMMON_HEADERS,
...
namely inclusion of ruby.h, because _GNU_SOURCE is now defined
there (if any) and socket.so requires it on Linux systems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 12:13:13 +00:00
shyouhei
982450e24f
* eval.c (rb_interrupt): trick to suppress GCC warning.
...
* sprintf.c (rb_str_format): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 11:59:50 +00:00
ko1
a056546f0d
* tool/instruction.rb: RubyVM is not module.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 11:46:48 +00:00
shyouhei
bf903214d5
* ext/digest/digest.c (rb_digest_instance_inspect): constified.
...
* variable.c (rb_path2class): field precision should have type int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 10:36:22 +00:00
naruse
5b7dfb7c13
* enc/shift_jis.c (code_is_ctype): HALF WIDTH KATAKANA is
...
a character.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 10:05:48 +00:00
shyouhei
0ef21e44e7
forgot to commit
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 09:50:30 +00:00
nobu
1316830179
* missing/vsnprintf.c (BSD__uqtoa): constified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 08:56:37 +00:00
usa
40612c5bb5
* enc/make_encdb.h: always add ';' at the end of line.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 08:51:33 +00:00
nobu
5669377a57
* iseq.c (COMPILE_OPTION_FALSE), time.c (timegm_noleapsecond),
...
thread.c (eKillSignal, eTerminateSignal),
missing/vsnprintf.c (BSD_vfprintf): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 08:44:32 +00:00
shyouhei
53cffba8cb
* enc/ascii.c: ISO C does not allow extra ';' outside of a
...
function
* enc/us_ascii.c: ditto.
* enc/utf_8.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 08:39:10 +00:00
shyouhei
ddc5f561e7
* process.c (run_exec_rlimit): ISO C90 forbids mixed declarations
...
and code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 08:31:55 +00:00
shyouhei
3e69e83a62
* include/ruby/ruby.h (enum ruby_special_consts): ISO C forbids
...
comma at end of enumerator list
* include/ruby/ruby.h (enum ruby_value_type): ditto.
* eval_intern.h (enum): ditto.
* vm_core.h (enum rb_thread_status): ditto.
* parse.y (enum lex_state_e): ditto.
* parse.y (enum string_type): ditto.
* process.c (enum): ditto.
* ruby.c (enum dump_flag_bits): ditto.
* ruby.c (enum disable_flag_bits): ditto.
* compile.c (iseq_link_element): ditto
* debug.c (union): ditto.
* cont.c (enum context_type): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 08:27:58 +00:00
nobu
4f572663c8
* regexec.c (stack_double): use MatchStackLimitSize atomically.
...
* regparse.c (onig_free_shared_cclass_table): OnigTypeCClassTable
needs atomicity
* regsyntax.c: constified all predefined OnigSyntaxTypes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 08:21:44 +00:00
shyouhei
6f88631baa
* include/ruby/st.h (struct st_table): type of bit-field
...
'num_entries' is a GCC extension
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 07:59:21 +00:00
shyouhei
a739f59359
* include/ruby/ruby.h (rb_intern): prefix __extnsion__ for
...
braced-groups within expressions.
* include/ruby/intern.h (rb_usascii_str_new2): ditto.
* include/ruby/intern.h (rb_tainted_str_new2): ditto.
* include/ruby/intern.h (rb_str_new2): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 07:56:51 +00:00
nobu
c274c6fabf
* lib/rubygems/ext/builder.rb (Gem::Ext::Builder.make),
...
(Gem::Ext::Builder.run): EXIT_SUCCESS may be 0 or may not.
* test/rubygems/test_gem_ext_rake_builder.rb (build_rake_in): override
Gem.ruby and ENV["rake"].
* runruby.rb: bin/rake does not exist in archdir where architecture
depend script (i.e. rbconfig.rb) exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 06:01:15 +00:00
nobu
d3b61c079e
* common.mk: folded longer rules
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 04:20:49 +00:00
nobu
365f1cd57e
* array.c (rb_ary_fill): check if beg is too big.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 04:19:47 +00:00
ko1
eb33f91cb7
* compile.c, insns.def, vm.c, vm_core.h: remove some insns
...
(undef, alias, definemethod).
Call RubyVM::FrozenCore's singleton method instead.
Add "putiseq" and "putspecialobject" instructions.
* id.c, id.h: add ids for above.
* tool/parse.rb: "VM" no longer exists. Use RubyVM instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-01 03:05:58 +00:00
drbrain
5c8ab4d9c2
RubyGems patches by Yusuke ENDOH [ruby-core:17442], [ruby-core:17444].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30 18:46:21 +00:00
nobu
fd77e489f2
* lib/cgi.rb (CGI::QueryExtension.read_multipart): blanks inside
...
double quotes are allowed. [ruby-list:45140]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30 16:07:19 +00:00
akr
5f8e0b6633
* numeric.c (num_coerce): call rb_Float(x) first. don't depend on
...
evaluation order of function arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30 16:03:41 +00:00
svn
4c4357c698
2008-07-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30 15:49:17 +00:00
nobu
01a025d2d7
* gc.c (rb_newobj): abort GC phase before rb_bug.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30 15:49:13 +00:00
mame
3ac2c3472a
* test/openssl/test_ssl.rb (start_server): shutdown TCPServer before
...
close.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30 14:15:48 +00:00
akr
895c7cb3c4
add an assertion.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-30 14:05:20 +00:00