nobu
a6d8d84a9e
* enc/depend (clean-srcs): split out from clean.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-08 15:17:52 +00:00
yugui
0945f41a5f
* pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'.
...
just ignores '*' in these cases.
[ruby-dev:37289]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-08 14:41:44 +00:00
nobu
92e0f99d37
* pack.c (pack_pack): fixed length for odd length string.
...
[ruby-dev:37283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-08 09:31:44 +00:00
nobu
774f924db9
* ruby.c (proc_options): added version, copyright, usage, yydebug,
...
syntax to --dump option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-08 02:28:17 +00:00
nobu
ba274d1f46
* ruby.c (proc_options): source-encoding option.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-08 02:15:47 +00:00
nobu
ecc83033ba
* ruby.c (set_option_encoding_once): dry.
...
* ruby.c (proc_options): checks extra argument for -E/--encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-08 01:32:36 +00:00
nobu
a41eedddd3
* configure.in (LIBPATHFLAG): commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 14:54:43 +00:00
nobu
f65395f72e
* configure.in (LIBPATHFLAG): use numbered specifier if RPATHFLAG
...
is set. [ruby-talk:322136]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 14:47:39 +00:00
nobu
a2a5343033
* Makefile.in (LIBRUBY_SO): localizes non-public symbols.
...
* configure.in (OBJDUMP, OBJCOPY): for dealing with binary files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 14:17:36 +00:00
akr
920ea359ba
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 12:35:11 +00:00
akr
7c20c4ec02
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 10:34:25 +00:00
akr
c0264efadd
* lib/open3.rb (Open3.capture3): renamed from Open3.poutput3.
...
(Open3.capture2): renamed from Open3.poutput2.
(lOpen3.capture2e): renamed from Open3.poutput2e.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 08:45:31 +00:00
svn
0884ca04bf
* 2008-12-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 02:49:22 +00:00
akr
1de2a15aaf
* lib/open3.rb (Open3.poutput3): :binmode option implemented.
...
(Open3.poutput2): ditto.
(Open3.poutput2e): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-07 02:49:18 +00:00
akr
0b314ffd87
update rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-06 12:52:43 +00:00
nobu
82a0e61e6e
* tool/make-snapshot (package): added RM and CP. [ruby-dev:37288]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-06 09:33:20 +00:00
yugui
4b983b90c4
* pack.c (pack_pack): 'u0' is not special differently from 'm0'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-06 08:55:57 +00:00
naruse
343deb4c39
* pack.c (pack_pack): set US-ASCII and CODERANGE_7BIT
...
when quoted-printable ('M') and base64 ('m').
[ruby-dev:37284]
* pack.c (pack_unpack): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-06 05:37:20 +00:00
akr
83b37cfc4f
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-06 01:05:57 +00:00
svn
c087e70c22
* 2008-12-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 15:10:02 +00:00
akr
41a3fbff5f
rdoc udpate.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 15:09:59 +00:00
tadf
d5d39dd3fe
* rational.c (nurat_{to_s,inspect}): performance improvement.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 12:47:07 +00:00
tadf
2d3f41d19f
* complex.c: inpsect should not depend on to_s.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 12:44:06 +00:00
xibbar
8c07972702
fix for 1.8's
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 12:09:49 +00:00
akr
415e2cbd88
* lib/open3.rb (Open3.pipeline_start): new method.
...
(Open3.pipeline): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 10:07:13 +00:00
akr
1385ce5f89
rdoc update.
...
prefer :in over STDIN because STDIN.fileno may changed if
STDIN.instance_eval { initialize 1 }.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 10:00:36 +00:00
akr
3406ddcb33
* process.c (run_exec_dup2): !save is false if Qnil.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 09:58:23 +00:00
usa
5d65e0982d
* win32/win32.c (rb_w32_read, rb_w32_write, rb_w32_isatty): check
...
whether fd is valid.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 09:08:24 +00:00
nobu
f6d18c3f2a
* iseq.c (rb_iseq_parameters): proc arguments are always optional.
...
* proc.c (get_proc_iseq, rb_proc_parameters): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 04:05:48 +00:00
nobu
ed19ff6bdb
* compile.c (iseq_set_sequence): uses rb_compile_warning() for
...
warning at compilation time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 03:38:50 +00:00
nobu
794eb7bc49
* compile.c (ruby_iseq_compile, ruby_iseq_translate_threaded_code),
...
(ruby_insns_name_array, ruby_iseq_build_from_ary): prefixed with
ruby_.
* iseq.c (ruby_iseq_load, ruby_insn_make_insn_table): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 03:35:48 +00:00
nobu
cc1401e504
* string.c (rb_str_cmp_m): fixed rdoc. pointed out by <Thomas
...
C. Mitchell AT gmail.com> at [ruby-talk:321967]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 01:01:53 +00:00
akr
5dbbef2b02
update rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 23:03:53 +00:00
akr
4433defb46
* io.c (io_binwrite): arg.offset should be updated after retry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 22:59:25 +00:00
nobu
8e864d1e86
* load.c (rb_get_load_path): returns the load path without
...
touching.
* load.c (rb_feature_provided): new function to return the loading
path in addition to rb_provided().
* load.c (search_required): sets path if loading.
* variable.c (autoload_provided): load paths are expanded to check
if loading.
* variable.c (autoload_node): keeps autoload mark while loading.
[ruby-core:20235]
* variable.c (rb_const_get_0): loops while autoload mark is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 18:29:20 +00:00
usa
0b10c32079
* test/ruby/test_process.rb: skip some tests on win32.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 16:39:55 +00:00
nobu
53e7e2d2a1
* string.c (sym_to_proc): tabified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 16:39:07 +00:00
usa
a9a4435e12
* win32/win32.c (rb_w32_read): ERROR_BROKEN_PIPE is not a real error
...
at this point.
* io.c (pipe_open): use rb_w32_spawn() instead of rb_w32_pipe_exec()
to use our own redirection scheme.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 16:39:03 +00:00
nobu
c7bd98b7b8
* string.c (sym_to_proc): use hidden object.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 16:35:10 +00:00
matz
408ca7cbb1
* pack.c (pack_pack): propagate taint status from format string to
...
result string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 16:20:02 +00:00
usa
80a3f22b77
* process.c (run_exec_dup2): need to sort by reverted order when
...
restoring fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 15:35:08 +00:00
akr
49b10fd508
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 15:21:32 +00:00
nobu
f149326740
* string.c (sym_to_proc): caches Symbol procs, based on a patch from
...
Shumpei Akai <admin AT flexfrank.net>. [ruby-dev:37265]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 15:17:21 +00:00
svn
bec3fed135
* 2008-12-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 15:03:16 +00:00
akr
e7562555c4
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 15:03:12 +00:00
akr
21d438243d
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 14:35:19 +00:00
usa
8068f49727
* win32/win32.c (waitpid): fix bug of checking child slot.
...
* win32/win32.c (FindChildSlotByHandle): new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 14:31:37 +00:00
akr
bca9bf7fef
* lib/open3.rb (Open3.poutput3): new method.
...
(Open3.poutput2): ditto.
(Open3.poutput2e): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 14:24:54 +00:00
yugui
644d1e7a47
* spec/default.mspec: follows changes in rubyspec project.
...
inherits configurations from ruby.1.9.mspec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 14:06:24 +00:00
tadf
a821725ab0
* test/ruby/test_complex.rb: added some tests.
...
* test/ruby/test_rational.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 13:14:25 +00:00