matz
baeeebf474
* encoding.c (rb_default_internal_encoding): merged a patch from
...
Michael Selig <michael.selig at fs.com.au> in [ruby-core:18985].
* io.c (rb_io_ext_int_to_encs): ditto.
* ruby.c (proc_options): support default internal encoding in -E
option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-07 17:39:44 +00:00
svn
0b184b473b
* 2008-10-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-07 15:08:47 +00:00
tadf
2bf7d240b8
* lib/date.rb (today,now): should produce own instances.
...
[ruby-talk:317020]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-07 15:08:42 +00:00
naruse
84f677d2f3
* ext/json/lib/json/pure/generator.rb (utf8_to_json):
...
force_encoding before gsub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-07 07:50:43 +00:00
naruse
6d58b1e54f
* ext/json/lib/json/pure/generator.rb (utf8_to_json):
...
downcase the result of Unicode escape.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-07 07:37:23 +00:00
xibbar
ddf88ea80b
* lib/cgi/core.rb (CGI::QueryExtension::initialize_query): fix the
...
condition.
* test/cgi/test_cgi_core.rb: bug fix encoding.
thaks to TAKANO Mitsuhiro <takano32 at jus.or.jp> .
* test/cgi/test_cgi_multipart.rb: temporary comment in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-06 07:53:58 +00:00
nobu
73a2f67164
* gc.c (gc_mark_children): ignores T_ZOMBIE.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-06 06:22:11 +00:00
matz
5e9cfca2d4
* test/ruby/test_module.rb (TestModule#test_mod_constants): should
...
not depend on global Module constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-06 03:49:17 +00:00
matz
f4d37a3ff4
* test/ruby/test_module.rb (TestModule#_wrap_assertion): add
...
definition. is this really needed?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-06 03:46:11 +00:00
matz
b8623eab43
* lib/test/unit/assertions.rb (Test::Assertions#assert_nothing_raised):
...
should take optional message argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-06 03:42:25 +00:00
matz
f2f2cd5bc6
* string.c (rb_str_comparable): string comparison should be
...
transitive. [ruby-dev:36484]
* test/ruby/test_m17n_comb.rb (TestM17NComb#test_str_eq): test
updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-06 03:22:56 +00:00
matz
2de01f01a7
* test/bigdecimal/test_bigdecimal.rb (test_sqrt_bigdecimal): test
...
updated. a patch from TAKANO Mitsuhiro <takano32 at jus.or.jp>
in [ruby-dev:36669].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-06 00:02:44 +00:00
nobu
919301c489
properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-05 15:43:55 +00:00
nobu
8e39257025
* lib/mkmf.rb ($config_h): now always defines for old libraries.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-05 14:34:37 +00:00
nobu
4c88510849
* vm_method.c (rb_mod_modfunc): method undefined in included module
...
may not have nd_body. [ruby-core:18738]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-05 14:07:06 +00:00
tadf
c3986f2805
* lib/rational.rb: resolved conflicts of aliases.
...
* lib/mathn.rb: avoided some warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-05 12:30:54 +00:00
akr
a64f397403
* lib/open-uri.rb: remove debug code introduced by previous change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-05 09:53:17 +00:00
naruse
f09149cab5
* lib/open-uri.rb (OpenURI.open_uri): set encoding to strio.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-05 08:51:22 +00:00
naruse
fd898245cb
* ext/stringio/stringio.c (strio_set_encoding): defined for
...
StringIO#set_encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-05 08:47:01 +00:00
yugui
5a7c5d34fb
removed unsupported platforms from an ifdef macro.
...
These lines were mistakenly removed at r19681 and recovered too much at r19684.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-05 02:39:29 +00:00
naruse
5e1311da38
* eval.c: come back definition of environ.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-05 02:26:45 +00:00
naruse
146ea3c398
* ext/nkf/nkf-utf8/utf8tbl.c: update table.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-05 01:10:41 +00:00
yugui
e8ee99ff1a
* dln.c: Ruby no longer supports VMS.
...
* error.c: ditto.
* eval.c: ditto.
* eval_intern.h: ditto.
* include/ruby/defines.h: ditto.
* include/ruby/ruby.h: ditto.
* io.c: ditto.
* process.c: ditto.
* ruby.c: ditto.
* vms/config.h: removed.
* vms/vms.h: ditto.
* vms/vmsruby_private.c: ditto.
* vms/vmsruby_private.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 13:57:06 +00:00
yugui
a8c3540b32
* dln.c: Ruby no longer supports Windows CE.
...
* eval.c: ditto.
* include/ruby/defines.h: ditto.
* include/ruby/win32.h: ditto.
* ruby.c: ditto.
* strftime.c: ditto.
* win32/Makefile.sub: ditto.
* win32/win32.c: ditto.
* ext/tk/extconf.rb: ditto.
* lib/fileutils.rb: ditto.
* test/fileutils/test_fileutils.rb: ditto.
* wince/*: removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 13:48:20 +00:00
yugui
642e081879
* dln.c: Ruby no longer supports MacOS 9 or before.
...
* eval.c: ditto.
* eval_intern.h: ditto.
* ext/extmk.rb: ditto.
* ext/tk/sample/tkextlib/treectrl/demo.rb: ditto.
* ext/tk/stubs.c: ditto.
* file.c: ditto.
* hash.c: ditto.
* include/ruby/defines.h: ditto.
* ruby.c: ditto.
* signal.c: ditto.
* vm_core.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 13:42:00 +00:00
yugui
ae7ea3332b
* dln.c: Ruby no longer supports MS-DOS.
...
* ext/sdbm/_sdbm.c: ditto.
* ext/sdbm/sdbm.h: ditto.
* gc.c: ditto.
* hash.c: ditto.
* include/ruby/defines.h: ditto.
* include/ruby/util.h: ditto.
* io.c: ditto.
* process.c: ditto.
* ruby.c: ditto.
* strftime.c: ditto.
* util.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 13:33:22 +00:00
yugui
8dd118c0db
* djgpp/GNUmakefile.in: removed. Ruby no longer supports djgpp.
...
* djgpp/README.djgpp: ditto.
* djgpp/config.hin: ditto.
* djgpp/config.sed: ditto.
* djgpp/configure.bat: ditto.
* djgpp/mkver.sed: ditto.
* ext/Setup.dj: ditto.
* dln.c: removed djgpp supports.
* file.c: ditto.
* gc.c: ditto.
* io.c: ditto.
* process.c: ditto.
* ruby.c: ditto.
* signal.c: ditto.
* util.c: ditto.
* vm_core.h: ditto.
* lib/fileutils.rb: ditto.
* lib/mkmf.rb: ditto.
* ext/socket/socket.c: ditto.
* test/fileutils/test_fileutils.rb: ditto.
* test/ruby/test_env.rb: ditto.
* test/ruby/test_path.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 13:25:12 +00:00
yugui
bbbd9c0b7b
* x68/_dtos18.c: removed. Ruby no longer supports human68k.
...
* x68/_round.c: ditto.
* x68/fconvert.c: ditto.
* x68/select.c: ditto.
* ext/Setup.x68: ditto.
* missing/x68.c: ditto.
* dln.c (dln_find_exe_r): removed human68k supports.
(dln_find_1): ditto.
* lib/mkmf.rb: ditto.
* ext/extmk.rb (Init_ext): ditto.
* ext/socket/socket.c (init_sock): ditto.
* gc.c (GC_MALLOC_LIMIT): ditto.
(rb_setjmp, rb_jmpbuf): ditto.
(mark_current_machine_context): ditto.
* include/ruby/defines.h (PATH_ENV): ditto.
* io.c: ditto.
* process.c: ditto.
* ruby.c: ditto.
* test/ruby/test_env.rb: ditto.
* test/ruby/test_path.rb: ditto.
* LEGAL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 13:12:13 +00:00
tadf
0c0e636b19
* lib/date/format.rb: no need to require the "lib/rational.rb".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 10:22:15 +00:00
naruse
a6e736e09d
* ext/nkf/nkf.c (rb_nkf_enc_get): don't replicate encoding.
...
[ruby-dev:36575]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 10:06:26 +00:00
naruse
0b18a77e7d
* ext/stringio/stringio.c (strio_external_encoding): defined.
...
* ext/stringio/stringio.c (strio_internal_encoding): defined.
* ext/stringio/stringio.c (Init_stringio): define above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 09:56:20 +00:00
yugui
5f898e44a7
* test/mini/test_mini_test.rb: recovered. It had been temporarily removed at r19645.
...
* test/mini/test_mini_mock.rb: ditto.
* test/mini/test_mini_spec.rb: ditto.
* lib/test/**/*: replaced by miniunit.
miniunit had been temporarily reverted at r19643 but now recovred.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 07:30:51 +00:00
yugui
279c3cbdbe
* common.mk (gdb-ruby): new target. it runs ruby under controlled by
...
gdb.
* common.mk (dist): accepts RELNAME variable as the second argument of
make-snapshot.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 06:36:20 +00:00
keiju
bf437b73c6
* irb/ext/save-history.rb: typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 03:28:19 +00:00
keiju
0fdc3b4bc5
* lib/irb/irb/ext/save-history.rb: change load_history using File.expand_path. see [ruby-dev:36660]. Thanks Kouhei Sutou.
...
* lib/irb/irb/context.rb: convert string Symbol of instance variable names in IRB:Context#inspect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04 03:26:16 +00:00
svn
ade6d076a9
* 2008-10-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-03 15:49:44 +00:00
yugui
3ac20b9590
* ext/dl/extconf.rb ($distcleanfiles): added callback-?.c into
...
the distclean list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-03 15:49:39 +00:00
naruse
be93ac50db
* ext/json/lib/json/pure.rb (module JSON): remove Iconv dependency.
...
* ext/json/lib/json/pure/generator.rb (utf8_to_json): process as
binary and remove Iconv dependency.
* ext/json/lib/json/pure/parser.rb (parse_string): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-03 10:36:10 +00:00
svn
7e752551bb
* 2008-10-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-03 05:05:02 +00:00
usa
bfdadb885a
* win32/{configure.bat,setup.mak,Makefile.sub): add --program-prefix
...
configure option support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-03 05:04:57 +00:00
xibbar
10e9b63806
* lib/cgi/core.rb (CGI::QueryExtension): delete MorphingBody
...
and replace like as 1.8's in multipart reading.
see [ruby-dev:36443],
reference from CGIAlt http://cgialt.rubyforge.org/
* test/cgi/test_cgi_multipart.rb : fixed multipart test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-02 12:37:30 +00:00
akr
bd421aa2d2
* string.c (rb_str_sub_bang): fix coderange.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-02 11:46:40 +00:00
svn
255f43160b
* 2008-10-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-02 02:40:36 +00:00
knu
c6866f8552
Back out the previous change after miniunit import.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-02 02:40:33 +00:00
mame
179b7eaa6b
* lib/rexml/parsers/lightparser.rb, lib/debug.rb: remove unused when
...
clauses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-01 13:55:08 +00:00
mame
46321a9a31
* lib/xmlrpc, lib/rexml, test/ruby/test_array.rb,
...
test/ruby/test_unicode_escape.rb, test/scanf/test_scanf.rb,
test/rss/rss-assertions.rb: fix indentation to remove warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-01 13:46:53 +00:00
nobu
952385b712
* gc.c (rb_gc_call_finalizer_at_exit): finalize deferred IO and Data.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-01 12:36:38 +00:00
nobu
e5afadda03
* common.mk (parse.h): removes line directives.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-01 10:21:02 +00:00
nobu
837d3aa882
* gc.c (rb_gc_call_finalizer_at_exit): deffers IO finalization.
...
[ruby-dev:36646]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-01 10:13:57 +00:00
nobu
1d54761948
* marshal.c (marshal_dump): fixed for check_dump_arg.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-01 10:11:51 +00:00