summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * common.mk (encs, ext/ripper/ripper.c): other options must comenobu2007-12-182-2/+7
| | | | | | | before MAKEFLAGS in GNU make. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't call private fail anymore.drbrain2007-12-182-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (encs, ext/ripper/ripper.c): pass MAKEFLAGS.nobu2007-12-182-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (op_tbl): remove duplication to avoid symbol aliases.matz2007-12-183-7/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_nth): need not to raise out-of-range exception.matz2007-12-183-13/+17
| | | | | | | * test/ruby/test_m17n.rb (TestM17N::test_str_aref_len): removed debug print. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend: get rid of target expanded as empty for nmake.nobu2007-12-182-5/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more tests.akr2007-12-182-71/+126
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_obj_public_method): Object#public_method to retrievematz2007-12-175-11/+51
| | | | | | | | | | | | | | | | public method object. * proc.c (rb_mod_public_instance_method): Module#public_instance_method to retrieve public instance method from class / module. * proc.c (mnew): visibility check added. * eval_error.ci (rb_print_undef): add rb_ prefix. * eval_error.ci (rb_print_undef): add visibility in the error message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ping.rb, lib/readbytes.rb: removedmatz2007-12-174-108/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/Env.rb, lib/base64.rb, lib/importenv.rb, lib/eregex.rb: removed.matz2007-12-176-228/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (BUILTIN_ENCS): removed.nobu2007-12-175-6/+20
| | | | | | | | | | | * common.mk (enc.mk): pass BUILTIN_ENCS from command line. * enc/depend: ditto. * enc/make_encmake.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: typo fixedmatz2007-12-171-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): need to clear output buffer to avoidmatz2007-12-172-1/+6
| | | | | | broken encoding compatibility check. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (depend_rules): inserts ruby to only headers.nobu2007-12-172-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_encode_length): chomp eol style modifiers.nobu2007-12-172-4/+36
| | | | | | | | | * parse.y (parser_magic_comment): ditto. * parse.y (set_file_encoding): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (encs): added dependencies.nobu2007-12-177-70/+82
| | | | | | | | | | | * enc/Makefile.in, enc/depend, enc/make_encmake.rb: moved serb code. * lib/mkmf.rb (depend_rules): now takes content string, not file name. * win32/enc-setup.mak: overrides default target. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize): raise error if non-Unicode fixedmatz2007-12-174-6/+14
| | | | | | | | | | encoding option is specified for regexp literals with \u{} escapes. * string.c (rb_str_squeeze_bang): should squeeze multibyte characters as well. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more tests.akr2007-12-172-4/+190
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* show regexp flags and encoding.akr2007-12-171-3/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/enc-setup.mak: extracts BUILTIN_ENCOBJS.nobu2007-12-173-0/+12
| | | | | | | * tool/compile_prelude.rb: needs srcdir. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (miniprelude.c): add -I$(srcdir).gotoyuzo2007-12-172-1/+23
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_sslctx_set_ssl_version):gotoyuzo2007-12-173-65/+189
| | | | | | | | | | | | | | | | | | | | new method OpenSSL::SSL::SSLContext#ssl_version to wrap SSL_CTX_set_ssl_version. * ext/openssl/ossl_ssl.c (ossl_ssl_get_verify_result): new method OpenSSL::SSL::SSLSocket#verify_result to wrap SSL_get_verrify_result. * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLContext.build): new method to build OpenSSL::SSL::SSLContext with Hash parameters. this method provides safety default parameters than SSLContext.new. * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL.verify_cetificate_identity): new module function: pull out identity verification process from OpenSSL::SSL::SSLSocket#post_connection_check. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (scan_once): need no encoding compatibility check.matz2007-12-173-5/+10
| | | | | | | | | | it's done inside of re_reg_seach(). * string.c (rb_str_split_m): ditto. * re.c (rb_reg_regsub): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_index): check if substring is broken.matz2007-12-174-6/+22
| | | | | | | | * string.c (rb_str_rindex): ditto. * string.c (rb_str_succ): should carry over. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (encs): new target to compile external encodings.nobu2007-12-178-82/+147
| | | | | | | | | | | | | | | | | | * enc/Makefile.in: became a serb template. * enc/make_encmake.rb: creates enc.mk from enc/Makefile.in using serb. * lib/mkmf.rb (relative_from): moved from ext/extmk.rb. * lib/mkmf.rb ($extmk): true if under to top source directory, not only ext. * lib/mkmf.rb (depend_rules): extracted from create_makefile. * tool/serb.rb (serb): splitted from tool/compile_prelude.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (MAKEFILES): removed enc/Makefile.nobu2007-12-172-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend: commit miss.nobu2007-12-171-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (EXTERNAL_ENCOBJS, ENCSOS): removed.nobu2007-12-176-33/+31
| | | | | | | | | | | * enc/Makefile.in (BUILTIN_ENCS): includes .c suffix. * enc/depend: splitted from Makefile.in. * {bcc32,win32,wince}/setup.mak (-encs-): extracts BUILTIN_ENCOBJS. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_str_asciionly_p): use rb_enc_str_coderange.akr2007-12-172-10/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_str_coderange): set ENC_CODERANGE_BROKEN usingakr2007-12-172-32/+27
| | | | | | | | | rb_enc_precise_mbclen. (rb_str_valid_encoding_p): just check coderange is ENC_CODERANGE_BROKEN or not. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/buffering.rb (Buffering#gets): added secondgotoyuzo2007-12-173-1/+14
| | | | | | | optional argument to specify maximum length limit. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb, lib/webrick/cgi.rb: Request-Line orgotoyuzo2007-12-174-11/+29
| | | | | | | header fields shold be read with maximum length. [ruby-talk:231745] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (ENC_CODERANGE_VALID): rename fromakr2007-12-173-3/+10
| | | | | | | | | ENC_CODERANGE_8BIT. * string.c (rb_enc_str_coderange): follow the renaming. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_find): wrong condition fixed.matz2007-12-173-5/+18
| | | | | | | | | * sprintf.c (rb_str_format): check encoding based on result, not the format string. * string.c (rb_str_upto): add encoding check. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extern rb_gc_stack_maxsize.akr2007-12-171-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (RUNRUBY): added RUNRUBYOPT.nobu2007-12-173-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.ci (native_thread_create): initializeakr2007-12-172-1/+6
| | | | | | | th->machine_stack_maxsize as rb_gc_stack_maxsize. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* for undefined conversions.matz2007-12-175-1981/+1667
| | | | | | | | | | | | * transcode_data_iso_8859.c: Changed from character constants ('\xC2') to integer contants (0xC2) for shorter files and better readability; eliminated duplicated tables; changed from -1 offset to actual UNDEF entry (not yet distinguishing UNDEF and ILLEGAL correctly). * test/ruby/test_transcode.rb: added a test for UNDEF conversion. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (BUILTIN_ENCS): removed escapes for OpenBSD.nobu2007-12-162-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* more tests.akr2007-12-161-0/+61
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test for [ruby-dev:32608].akr2007-12-151-0/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (MAKEFILES): should be enc/Makefile, not GNUmakefile.nobu2007-12-153-4/+9
| | | | | | | [ruby-dev:32609] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_pair.rb (SSLPair#ssl_pair): join the thread, evenakr2007-12-152-0/+10
| | | | | | | on an error. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/xmlrpc/webrick_testing.rb: join webrick server thread.akr2007-12-152-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (BUILTIN_ENCS): splitted command line instead ofnobu2007-12-152-1/+8
| | | | | | | semicolons for Solaris. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/timeout.rb: join the background thread to make sure it is dead.akr2007-12-152-1/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (BUILTIN_ENCS): [] needs to be enclosed because of m4.nobu2007-12-152-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* avoid ruby -d test/ruby/test_marshal.rb output binary marshaled data.akr2007-12-151-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* catch EOFError in a thread.akr2007-12-151-7/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* close socket.akr2007-12-151-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e