knu
47d42038b3
* lib/ipaddr.rb: Say that I am the current maintainer.
...
* lib/set.rb: Ditto.
* lib/shellwords.rb: Ditto.
* ext/syslog/syslog.txt: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-21 12:15:06 +00:00
nobu
d728efc96d
* eval.c (rb_obj_instance_eval): invalid comment syntax.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-21 06:51:21 +00:00
nobu
12f927df8d
* instruby.rb (open_for_install): write block result and rewrite only
...
if changed from existing file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-21 00:24:30 +00:00
tadf
fa59ec2f68
rearrangement.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-20 23:30:34 +00:00
nobu
3aede677ba
* rational.c (nurat_to_f): C99.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-20 21:45:01 +00:00
nobu
f778691dfa
* test/ruby/test_rational2.rb: set property.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-20 21:28:38 +00:00
mame
b9fd3e4e85
* complex.c (nucomp_sub, nucomp_expt): call corresponding functions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-20 16:41:51 +00:00
mame
d0c2b919ed
* missing/tgamma.c: include config.h before math.h. [ruby-dev:34075]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-20 16:22:03 +00:00
nobu
2029a832e5
* io.c (argf_getline): use receiver.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-20 12:46:35 +00:00
tadf
5723a8eeb5
improvements.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-20 12:26:58 +00:00
nobu
890b0352dd
* io.c: removed trailing blanks.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-19 15:29:09 +00:00
nobu
a130e92582
* io.c (argf_initialize_copy): get rid of segfault.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-19 15:21:15 +00:00
nobu
42522ee2a6
* io.c (argf_tell, argf_seek_m, argf_set_pos, argf_rewind,
...
argf_fileno, argf_to_io, argf_eofl, argf_getc, argf_getbyte,
argf_readchar, argf_readbyte, argf_each_line): use receiver.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-19 15:14:01 +00:00
nobu
bdfe0b8f18
* io.c (rb_io_putc, rb_io_puts): ouput directly if the reciever is
...
rb_stdout to get rid of infinite recursion. [ruby-dev:34059]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-19 14:52:43 +00:00
tadf
a3c76eb0c7
added rb_gcd.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-19 13:29:04 +00:00
tadf
1484d1c32a
added an assertion.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-19 11:06:25 +00:00
tadf
80aa946f91
revert.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-19 09:37:39 +00:00
matz
1ee96f7709
* eval_intern.h (TH_EXEC_TAG): need not to FLUSH_REGISTER_WINDOWS.
...
[ruby-core:15871], [ruby-dev:34088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-19 08:32:30 +00:00
nobu
3f5792a1c6
* complex.c (nucomp_to_s, nucomp_inspect): get rid of making
...
unnecessary intermediate objects.
* complex.c (make_patterns, string_to_c): do not treat successive
underscores as a part of numeric like as literals. [ruby-dev:34085]
* rational.c (make_patterns, string_to_r): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-19 05:53:11 +00:00
nobu
2188bbced3
* bignum.c (rb_cstr_to_inum): treat successive underscores as
...
nondigit. [ruby-dev:34089]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-19 05:36:43 +00:00
nobu
555eb7ded4
* encoding.c (enc_check_encoding): should not load autoloaded encoding
...
directly, instead use rb_enc_find_index() which deal with alias and
replica. [ruby-core:15957]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-19 05:08:49 +00:00
usa
149a03bdfb
* regint.h (include): include ruby.h instead of defines.h and config.h.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-19 02:50:12 +00:00
matz
f55963c939
* regint.h (CHECK_INTERRUPT_IN_MATCH_AT): add interrupt check
...
during match. [ruby-talk:295002]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-19 01:19:29 +00:00
nobu
91a761b4d0
* parse.y (literal_concat_gen): bail out at different encoding.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-18 07:24:55 +00:00
naruse
e58adeae0f
* re.c (rb_memsearch_ss): simple shift search.
...
* re.c (rb_memsearch_qs): quick search.
* re.c (rb_memsearch_qs_utf8): quick search for UTF-8 string.
* re.c (rb_memsearch_qs_utf8_hash): hash functions for above.
* re.c (rb_memsearch): use above functions.
* string.c (rb_str_index): give enc to rb_memsearch.
* include/ruby/intern.h (rb_memsearch): move to encoding.h.
* include/ruby/encoding.h (rb_memsearch): move from intern.h.
* common.mk (PREP): add dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-17 19:04:29 +00:00
mame
89afc5431b
* array.c (rb_ary_take, rb_ary_take_while, rb_ary_drop,
...
rb_ary_drop_while): new method. [ruby-dev:34067]
* test/ruby/test_array.rb: add tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-17 13:28:46 +00:00
nobu
c97735b53c
* misc/ruby-mode.el (ruby-mode): should use `run-mode-hooks' instead
...
of calling `run-hooks' directly to run the mode hook. patch from
Chiyuan Zhang <pluskid AT gmail.com> in [ruby-core:15915]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-17 08:11:15 +00:00
nobu
a4394e3f49
* configure.in: unset GREP_OPTIONS. [ruby-core:15918]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-17 07:41:12 +00:00
nobu
a1bebebed1
* golf_prelude.rb (Object.const_missing): fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-17 07:35:11 +00:00
nobu
ae68dc0344
* complex.c rational.c: set property.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-17 00:21:16 +00:00
duerst
2e7815dd80
Sun Mar 16 18:07:07 2008 Martin Duerst <duerst@it.aoyama.ac.jp>
...
* enc/trans/utf_16_32.c: bug fix (some invalid UTF-8 sequences
were legal)
* test/ruby/test_transcode.rb: test for above bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-16 09:09:53 +00:00
naruse
9e202f9398
* common.mk (LIBRUBY_SO): add dependency to $(BUILTIN_ENCOBJS).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-16 08:31:00 +00:00
tadf
073ee17567
edited comments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-16 00:51:11 +00:00
tadf
6125552c27
both complex and rational are now builtin classes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-16 00:23:43 +00:00
matz
2694b2f937
* encoding.c (rb_enc_associate_index): pass unnecessary enc_capable().
...
* string.c (rb_str_cmp): reduce invocation of rb_enc_compatible().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-15 09:19:38 +00:00
matz
8ead071828
* lib/cgi.rb (CGI::Cookie::initialize): performance patch from
...
Makoto Kuwata <kwa@kuwata-lab.com> in [ruby-dev:34048].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 08:08:51 +00:00
nobu
657429b75b
* include/ruby/ruby.h (inttypes.h): includes always if available.
...
* string.c, ext/digest/defs.h: moved inttypes.h to ruby.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 08:04:45 +00:00
nobu
7476940582
* configure.in (RUBY_LIB_PREFIX): fix for prefix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 07:59:25 +00:00
nobu
e5fb40c4fa
* configure.in (RUBY_LIB_PREFIX): use libdir.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 06:49:08 +00:00
nobu
5a18215406
* ext/digest/defs.h: inttypes.h is still needed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 05:24:17 +00:00
nobu
d6ca5fefd0
* numeric.c (flo_divmod): remvoed unused variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 05:03:28 +00:00
usa
bc8c8e90d5
* {bcc,win}32/Makefile.sub: follow below changes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 02:35:24 +00:00
nobu
05eeb60259
* misc/ruby-mode.el (ruby-encoding-map, ruby-use-encoding-map): added
...
to customize.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 02:24:32 +00:00
naruse
668af7e99d
* configure.in (int8_t, uint8_t, int16_t, uint16_t int32_t,
...
uint32_t int64_t, uint64_t, int128_t, uint128_t,
intptr_t, uintptr_t): check if defined.
* win32/Makefile.sub: follow configure.in.
* ext/digest/defs.h: remove checks for uint8_t, uint32_t and uint64_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 01:47:02 +00:00
nobu
4b31c84dae
* configure.in (RUBY_CHECK_VARTYPE): should not indent preprocessor
...
directives.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 01:12:32 +00:00
nobu
c0b8e82296
* string.c (UNALIGNED_WORD_ACCESS): IA64 cannot access unaligned word.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14 01:04:02 +00:00
nobu
7cefc9f950
* bootstraptest/test_struct.rb: set property.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-13 23:31:42 +00:00
matz
1319ad22d8
* bootstraptest/test_struct.rb: some test moved from test to shut
...
warning up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-13 16:40:33 +00:00
matz
92f510a9d9
* array.c (rb_ary_slice_bang): should not use rb_ary_subseq()
...
which shares internal pointer. splice modifies the receiver
right after subseq. [ruby-dev:34005]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-13 16:39:45 +00:00
matz
020d4e4d38
* test/ruby/test_numeric.rb (TestNumeric::test_num2long): bit-and
...
should not raise RangeError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-13 16:38:56 +00:00