aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * common.mk (miniprelude.c): add -I$(srcdir).gotoyuzo2007-12-171-0/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (scan_once): need no encoding compatibility check.matz2007-12-171-0/+9
| | | | | | | | | | it's done inside of re_reg_seach(). * string.c (rb_str_split_m): ditto. * re.c (rb_reg_regsub): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_index): check if substring is broken.matz2007-12-171-0/+8
| | | | | | | | * string.c (rb_str_rindex): ditto. * string.c (rb_str_succ): should carry over. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (encs): new target to compile external encodings.nobu2007-12-171-0/+17
| | | | | | | | | | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (MAKEFILES): removed enc/Makefile.nobu2007-12-171-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (EXTERNAL_ENCOBJS, ENCSOS): removed.nobu2007-12-171-0/+10
| | | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_str_asciionly_p): use rb_enc_str_coderange.akr2007-12-171-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_str_coderange): set ENC_CODERANGE_BROKEN usingakr2007-12-171-0/+7
| | | | | | | | | rb_enc_precise_mbclen. (rb_str_valid_encoding_p): just check coderange is ENC_CODERANGE_BROKEN or not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/buffering.rb (Buffering#gets): added secondgotoyuzo2007-12-171-0/+5
| | | | | | | optional argument to specify maximum length limit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb, lib/webrick/cgi.rb: Request-Line orgotoyuzo2007-12-171-4/+9
| | | | | | | header fields shold be read with maximum length. [ruby-talk:231745] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (ENC_CODERANGE_VALID): rename fromakr2007-12-171-0/+7
| | | | | | | | | ENC_CODERANGE_8BIT. * string.c (rb_enc_str_coderange): follow the renaming. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_find): wrong condition fixed.matz2007-12-171-0/+9
| | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (RUNRUBY): added RUNRUBYOPT.nobu2007-12-171-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.ci (native_thread_create): initializeakr2007-12-171-0/+5
| | | | | | | th->machine_stack_maxsize as rb_gc_stack_maxsize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* for undefined conversions.matz2007-12-171-0/+13
| | | | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (BUILTIN_ENCS): removed escapes for OpenBSD.nobu2007-12-161-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (MAKEFILES): should be enc/Makefile, not GNUmakefile.nobu2007-12-151-0/+5
| | | | | | | [ruby-dev:32609] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_pair.rb (SSLPair#ssl_pair): join the thread, evenakr2007-12-151-0/+5
| | | | | | | on an error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/xmlrpc/webrick_testing.rb: join webrick server thread.akr2007-12-151-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (BUILTIN_ENCS): splitted command line instead ofnobu2007-12-151-0/+5
| | | | | | | semicolons for Solaris. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/timeout.rb: join the background thread to make sure it is dead.akr2007-12-151-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (BUILTIN_ENCS): [] needs to be enclosed because of m4.nobu2007-12-151-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (enc/Makefile): add external encoding objects list.nobu2007-12-151-0/+13
| | | | | | | | | | | | | | * common.mk (BUILTIN_ENCOBJS): renamed from ENCOBJS. * Makefile.in (BUILTIN_ENCOBJS): substitued by autoconf. * enc/Makefile.in: new file to compile external encoding sources. * encoding.c (rb_enc_find_index): auto-load external encoding objects as "ext/ENCODING_NAME". [ruby-dev:32606] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/e2mmap.rb (Exception2MessageMapper::E2MM.Raise): $! nomatz2007-12-151-0/+5
| | | | | | longer modifiable in 1.9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (str_transcode, transcode_dispatch): added two-stepmatz2007-12-151-0/+17
| | | | | | | | | | | | | | * trancode.c: some minor formatting fixes * transcode_data.h, transcode_data_iso_8859.c: Shortened extremely frequently used macros to shorten file length. * test/ruby/test_transcode.rb: Fixed name of test class; added setup method to ensure all necessary encodings exist; split tests into more test methods; added tests; fixed ordering of arguments in assert_equal to have expected result first. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (rb_thread_t): new member machine_stack_maxsize andakr2007-12-151-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | machine_register_stack_maxsize. * gc.c (rb_gc_stack_maxsize): new global variable for the thread size of the main thread. (STACK_LEVEL_MAX): use machine_stack_maxsize of current thread. (ruby_stack_check): check IA64 register stack. (ruby_set_stack_size): set rb_gc_stack_maxsize. (Init_stack): set rb_gc_stack_maxsize. * thread_pthread.ci (native_thread_create): initialize th->machine_stack_maxsize and th->machine_register_stack_maxsize. * vm.c (Init_BareVM): initialize th->machine_stack_maxsize and th->machine_register_stack_maxsize. * thread_win32.ci (native_thread_create): initialize th->machine_stack_maxsize. not tested. just a guess at all. [ruby-dev:32604] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_register, rb_enc_replicate, rb_enc_alias): checknobu2007-12-151-0/+5
| | | | | | | if already registered. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/options.rb (Options::parse): do not access $KCODE anymatz2007-12-141-0/+9
| | | | | | | | | | longer. [ruby-core:14079] * lib/irb/init.rb (IRB::IRB.parse_opts): ditto. * lib/cgi.rb (CGI::CGI): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.ci (native_thread_create): twice the stack size.akr2007-12-141-0/+6
| | | | | | | | 512KB is not enough to complete test-all on Debian GNU/Linux on IA64. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_p): RDoc update. a patch from murphy <murphy AT rubychan.de>.matz2007-12-141-0/+5
| | | | | | [ruby-core:14010] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_cmp): encoding aware comparison.matz2007-12-141-0/+6
| | | | | | * string.c (rb_str_casecmp): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ruby.imp): fix for circular dependency. a patch fromnobu2007-12-141-0/+8
| | | | | | | | | | Yutaka Kanemoto <kinpoco AT gmail.com> in [ruby-dev:32590]. * regint.h, st.c, ext/json/ext/generator/generator.c: suppress warnings on AIX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: should use have_func for functions insteadnobu2007-12-141-1/+4
| | | | | | | of have_var. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_var): should fail for functions.nobu2007-12-141-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_VARTYPE): check if a variable is definednobu2007-12-141-0/+9
| | | | | | | | | | | and its type. * configure.in (timezone, altzone): check for recent cygwin. * missing/strftime.c (strftime): fix for timezone. [ruby-dev:32536] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_protect): restore root_jmpbuf even if proc exits byakr2007-12-131-0/+5
| | | | | | | break such as dbm.delete_if { break }. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_nth): direct jump if string is 7bit only. greatmatz2007-12-131-0/+7
| | | | | | | | performance boost for worst case. * string.c (str_strlen): direct size if string is 7bit only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_compatible): 1st argument (typically thematz2007-12-131-0/+5
| | | | | | receiver) would have higher priority in encoding detection. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_synchronized): should check if initialized.matz2007-12-131-0/+5
| | | | | | [ruby-dev:32585] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize): embedded string may override encodingmatz2007-12-131-0/+8
| | | | | | | | | of the regular expression. * re.c (rb_reg_initialize): fix encoding of regular expression if embedded string has its own encoding specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_compatible): encoding should never fall backmatz2007-12-131-0/+5
| | | | | | to ASCII-8BIT unless both encodings are ASCII-8BIT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_shared_replace): make str noembed after free.akr2007-12-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_protect): restore root_jmpbuf to avoid SEGV byakr2007-12-131-0/+6
| | | | | | | | 'IO.pipe; [].each.next' with gcc version 3.3.5 (Debian 1:3.3.5-13) on IA64. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_succ): should not enter infinite loop formatz2007-12-131-0/+3
| | | | | | non-ASCII, non-alphanumeric character at the bottom. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_gsub): should copy encoding to the result.matz2007-12-131-1/+5
| | | | | | * sprintf.c (rb_str_format): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_split_m): need not to check encoding if regexpmatz2007-12-131-0/+11
| | | | | | | | | | | | is empty. * string.c (rb_str_justify): associate encoding of original to the result. * string.c (rb_str_chomp_bang): need to check encoding of record separator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_compatible): should swap encoding indexes too.nobu2007-12-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_compatible): should not judge compatibilitymatz2007-12-131-0/+5
| | | | | | based on rb_enc_asciicompat(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/io.h (MakeOpenFile): fptr->enc should bematz2007-12-131-0/+5
| | | | | | intialized to zero. [ruby-dev:32569] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_getc): use default external encoding if fptr->enc ismatz2007-12-121-0/+8
| | | | | | | | | not set. [ruby-dev:32565] * lib/rubygems/package.rb (Gem::TarReader::Entry::rewind): typo fixed. [ruby-dev:32565] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e