summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * transcode.c (output_replacement_character):naruse2008-07-313-18/+53
| | | | | | | | | | | | | | rename from _get_replacement_character. * transcode.c (output_replacement_character): fix replacement on UTF-32{BE,LE}. [ruby-dev:35705] * transcode.c (transcode_loop): ditto. * test/ruby/test_transcode.rb (test_invalid_replace): add for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_call_with_block): reduce comparison.mame2008-07-312-2/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-08-01svn2008-07-311-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.c (syck_free_parser): fix memory leak bymame2008-07-312-0/+22
| | | | | | | YAML::Syck.compile. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpMult): prevent memory leak.mame2008-07-312-1/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_transcode.rb (test_unicode_public_review_issue_121):naruse2008-07-312-3/+8
| | | | | | fix option1 and 3. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (get_replacement_character): use U+FFFD as replacementnaruse2008-07-313-14/+22
| | | | | | | | | | | | character when convert to Unicode. * test/ruby/test_transcode.rb (test_unicode_public_review_issue_121): rename from test_public_review_issue_121. * test/ruby/test_transcode.rb (test_unicode_public_review_issue_121): enable option2. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (get_replacement_character): fix: invalid byte sequencenaruse2008-07-312-4/+9
| | | | | | is always replaced "\x00?". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/test_gem_ext_configure_builder.rbnaruse2008-07-312-2/+6
| | | | | | (test_self_build_fail): remove extra newline. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_transcode.rb: added test_shift_jisduerst2008-07-312-0/+63
| | | | | | | | | (contributed by Yoshihiro Kambayashi) and test_public_review_issue_121 (see http://www.unicode.org/review/pr-121.html) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (struct RString): size of ary must bemame2008-07-312-1/+6
| | | | | | | RSTRING_EMBED_LEN_MAX + 1. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): upper half of hexdigits has never been used.nobu2008-07-312-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.h (ASSERT): fix typo at r18176.nobu2008-07-312-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (rb_syck_compile): expression in ASSERT() has nonobu2008-07-312-1/+8
| | | | | | | effect unless debug mode. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (ruby_iseq_disasm_insn): suppress warnings on platforms whichnobu2008-07-315-4/+14
| | | | | | | | | | | | int size differs from pointer size. * ext/openssl/ossl_asn1.c (ossl_asn1_get_asn1type): ditto * ext/syck/rubyext.c (rb_syck_err_handler), (syck_default_error_handler): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (rb_syck_compile): remove meaningless branchmame2008-07-302-2/+9
| | | | | | | | that misleads into thinking that the variable sav may be uninitialized. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_mutex_unlock_all): mutex is no longer a ruby object.nobu2008-07-302-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (magic_comment_encoding): remove meaningless null check.mame2008-07-302-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpIsRoundMode): fix tautologymame2008-07-302-3/+8
| | | | | | | condition. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): reduced static variables.nobu2008-07-302-13/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-07-31svn2008-07-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_call_with_block): prevent null reference.mame2008-07-302-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (vtable_free): remove meaningless null check.mame2008-07-302-3/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (struct dir_data): change path field char * to VALUE.akr2008-07-302-12/+28
| | | | | | | | | | | | | | (mark_dir): new function for mark path field. (free_dir): follow the path field change. (dir_s_alloc): ditto. (dir_initialize): ditto. (dir_s_open): ditto. (dir_inspect): ditto. (dir_path): return (duplicate of) the path field to preserve encoding. [ruby-dev:35685] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (sym_inspect): remove dead code.mame2008-07-302-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix wrong method name and add reference.mame2008-07-301-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (parse_exp): fix memory leak.mame2008-07-302-1/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (parse_exp): fix memory leak at Regexp.new("x{1,1}").mame2008-07-302-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-07-30svn2008-07-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_select): recalc the rest of timeout for eachnobu2008-07-304-13/+69
| | | | | | | iterations. [ruby-core:18015] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_ungetc): raise NotImplementedError when ungetc is calledmame2008-07-293-9/+54
| | | | | | | | | | | | | | | against dummy encoding IO. * io.c (rb_io_getline_1): ditto when gets with delimiter is called. * io.c (io_getc): ditto when getc is called. * test/ruby/test_io_m17n.rb (test_terminator_stateful_conversion, test_getc_stateful_conversion, test_ungetc_stateful_conversion): these tests should raise NotImplementedError. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (pipe): run reader thread and writer thread.mame2008-07-292-57/+85
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (Init_bigdecimal): fix typo.mame2008-07-292-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/etc/test_etc.rb (test_passwd): age field may be string undermame2008-07-292-1/+6
| | | | | | | some environments. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (char_casecmp): fix: return 0 if either of characters is NUL.naruse2008-07-292-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fixed wrong changelog for r18253.nobu2008-07-291-2/+3
| | | | | | | | | * file.c (rb_find_file_ext, rb_find_file): explicit relative path which starts with "./" or "../" should be searched from cwd instead of load path. [ruby-dev:35673] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/etc/test_etc.rb (test_getpwuid): fix for users whose uid isnaruse2008-07-292-3/+8
| | | | | | shared. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_find_file_ext, rb_find_file): converts Windows style pathnobu2008-07-282-6/+23
| | | | | | | to Cygwin path. [ruby-dev:35647] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_atanh): raise EDOM on FreeBSD when atanh(1).naruse2008-07-283-3/+39
| | | | | | | | | | | | * math.c (math_log): ditto. * math.c (math_log2): ditto. * math.c (math_log10): ditto. * test/ruby/test_math.rb: test for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-07-29svn2008-07-281-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (struct dir_data): intenc field removed.akr2008-07-282-38/+13
| | | | | | | | | | | (dir_s_alloc): intenc initialization removed. (dir_initialize): :internal_encoding option removed. dirname code conversion removed. (dir_enc_str): code conversion removed. [ruby-dev:35661] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/: use PNG instead of zlib as binary data.kou2008-07-284-21/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.[ch] (cond_every_entry, rb_thread_cond_struct): revertedusa2008-07-284-25/+34
| | | | | | | | | | | r18239 because r18245 made the changes unnecessary. * thread.c (rb_mutex_struct): define after including thread_{pthread, win32}.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_require.rb (test_require_too_long_filename):mame2008-07-282-1/+13
| | | | | | | Kernel#require does not use dln_find_file_r (at r18242). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h: move the definition of struct rb_mutex_struct.mame2008-07-283-10/+14
| | | | | | | * thread.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (mutex_unlock): fix typo.mame2008-07-282-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_find_file_ext, rb_find_file): not to split load path withnobu2008-07-282-55/+32
| | | | | | | path separator. [ruby-Bugs-21356] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (overlapped_socket_io, fcntl, rb_w32_close): must notnobu2008-07-282-4/+16
| | | | | | | pass a pointer to int which is smaller than st_data_t on mswin64. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (CreateChild, overlapped_socket_io): suppressnobu2008-07-282-3/+8
| | | | | | | warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (MAXPATHLEN): define before use.usa2008-07-282-6/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e