summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * common.mk (extconf): use MAKEDIRS.nobu2008-08-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb (IRB::Irb#inspect): instance_variables returns symbolsnobu2008-08-101-0/+5
| | | | | | | instead of strings now. [ruby-dev:34930] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (transcode_char_start): refactored to remove readlenakr2008-08-101-0/+6
| | | | | | | | argument. (transcode_restartable): refactored to remove readlen variable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (STACK_LEVEL_MAX, ruby_stack_length): returns size_t.nobu2008-08-091-1/+4
| | | | | | | [ruby-core:18207] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* r18455 reverted.akr2008-08-091-6/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert),nobu2008-08-091-0/+10
| | | | | | | | | | | | ext/digest/md5/md5.c, ext/openssl/ossl.c (main), ext/socket/extconf.rb (ipv6, wide-getaddrinfo): main should be int. * main.c (main), win32/winmain.c, wince/wincemain.c (WinMain): envp is no longer used so long time. based on a patch from Peter Bowen at [ruby-core:18208] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (transcode_loop): take destination and resize functionakr2008-08-091-0/+13
| | | | | | | | | | | | | | | as parameters. (more_output_buffer): ditto. (str_transcoding_resize): argument changed from rb_transcoding* to VALUE. (str_transcode): call transcode_loop with destination string and its resize function. * transcode_data.h (rb_transcoding): move ruby_string_dest and flush_func to transcode_loop parameters. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: encs depend on transdb.hnaruse2008-08-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_rshift_sign, rb_cv_binary_elf): get rid ofnobu2008-08-091-0/+5
| | | | | | | AC_TRY_RUN. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (transcode_char_start): arguments changed.akr2008-08-091-0/+6
| | | | | | | | (transcode_restartable): arguments changed to avoid *in_pos points out of buffer by decreasing *in_pos. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode_data.h (rb_transcoding): new fields: next_info and next_byte.akr2008-08-091-0/+8
| | | | | | | | | * transcode.c (transcode_restartable): save/restore next_info and next_byte. sync readlen and in_p when invalid. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (transcode_restartable): my_transcoder argument removed.akr2008-08-091-0/+5
| | | | | | | (transcode_loop): my_transcoder argument removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode_data.h (rb_transcoding): add fields for restartable akr2008-08-091-0/+20
| | | | | | | | | | | | | | | | | | | | | | transcoding. (rb_transcoder): add max_input field. from_unit_length field is renamed to input_unit_length. * tool/transcode-tblgen.rb: generate max_input field. * enc/trans/iso2022.erb.c: follow rb_transcoder change. * enc/trans/utf_16_32.erb.c: ditto. * transcode.c (PARTIAL_INPUT): new constant. (transcode_char_start): new function. (transcode_result_t): new type. (transcode_restartable): new function. (more_output_buffer): new function. (transcode_loop): use transcode_restartable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * stable/ext/socket/socket.c (NI_MAXHOST, NI_MAXSERV): fixed invalidnobu2008-08-091-0/+6
| | | | | | | | preprocessor directives. a patch from Peter Bowen at [ruby-core:18211]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/make_encdb.rb, enc/trans/make_transdb.rb: skip nonexistentnobu2008-08-081-0/+5
| | | | | | | directory. [ruby-dev:35802] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/utf_16_32.erb.c (fun_so_from_utf_32le): implemented.akr2008-08-081-0/+6
| | | | | | | | (fun_so_to_utf_32le): implemented. [ruby-dev:35777] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode_data.h (rb_transcoder): from_unit_length field added.akr2008-08-081-0/+18
| | | | | | | | | | | | | | | | | | | | from_utf8 field removed. * tool/transcode-tblgen.rb: generate offsets range. follow rb_transcoder change. * transcode.c (transcode_loop): don't use from_utf8. make invalid region from_unit_length wise. * enc/trans/iso2022.erb.c: follow rb_transcoder and transcode_generate_node change. * enc/trans/utf_16_32.erb.c: follow rb_transcoder and transcode_generate_node change. explicit :invalid map removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend (TRANSCSRCS): needs rule_subst to apply.nobu2008-08-081-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (shutdown): not define if defined already.nobu2008-08-081-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (opt_eq_func): large function to make inline.nobu2008-08-081-0/+6
| | | | | | | * bcc32/Makefile.sub (config.h): cannot compile a big inline function. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (enk.mk): give not RUBY but MINIRUBY.naruse2008-08-081-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss.nobu2008-08-081-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (enc.mk): mkmf.rb requires rbconfig.rb.nobu2008-08-081-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (srcs-enc): renamed from transcodes.nobu2008-08-081-1/+5
| | | | | | | * enc/Makefile.in (make-workdir): creates object directories. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (encdb.h): see both $(srcdir)/enc and enc.nobu2008-08-081-1/+5
| | | | | | | * enc/make_encdb.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/make_transdb.rb: fix for the case no transdirs are given.nobu2008-08-081-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/make_transdb.rb: converts only one transcoders for eachnobu2008-08-081-0/+5
| | | | | | | basename. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb: randomize source port and transaction id.akr2008-08-081-0/+8
| | | | | | | | | | CVE-2008-1447. * lib/resolv-replace.rb (UDPSocket#bind): don't resolv host if host is "". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: see both $(srcdir)/enc/trans and enc/trans.naruse2008-08-071-0/+6
| | | | | | * enc/trans/make_transdb.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/.document: added readline/readline.c.kouji2008-08-071-0/+10
| | | | | | | | | | | * ext/readline/readline.c: changed Copyright. added RDoc. * ext/readline/README.ja: fixed typo. * ext/readline/README: contents was moved RDoc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode_data.h (rb_transcoding): new field "stateful".akr2008-08-071-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (rb_transcoder): preprocessor and postprocessor field removed. change arguments of func_ii, func_si, func_io and func_so. new field "finish_func". * tool/transcode-tblgen.rb: make FUNii, FUNsi and FUNio generatable. * transcode.c (transcoder_lib_table): removed. (transcoder_table): change structure. (transcoder_key): removed because the above structure change. (make_transcoder_entry): new function. (get_transcoder_entry): ditto. (rb_register_transcoder): follow the structure change. (declare_transcoder): ditto. (transcode_search_path): new function for breadth first search to find a list of converters. (transcode_search_path_i): new function. (transcode_dispatch_cb): ditto. (transcode_dispatch): use transcode_search_path. (transcode_loop): follow the argument change. (str_transcode): preprocessor and postprocessor stuff removed. * enc/trans/iso2022.erb.c: new file. ISO-2022-JP conversion re-implemented. * enc/trans/japanese.erb.c: ISO-2022-JP stuff removed. nute(23:52:53)% head -40 ChangeLog Thu Aug 7 23:43:11 2008 Tanaka Akira <akr@fsij.org> * transcode_data.h (rb_transcoding): new field "stateful". (rb_transcoder): preprocessor and postprocessor field removed. change arguments of func_ii, func_si, func_io and func_so. new field "finish_func". * tool/transcode-tblgen.rb: make FUNii, FUNsi and FUNio generatable. * transcode.c (transcoder_lib_table): removed. (transcoder_table): change structure. (transcoder_key): removed because the above structure change. (make_transcoder_entry): new function. (get_transcoder_entry): ditto. (rb_register_transcoder): follow the structure change. (declare_transcoder): ditto. (transcode_search_path): new function for breadth first search to find a list of converters. (transcode_search_path_i): new function. (transcode_dispatch_cb): ditto. (transcode_dispatch): use transcode_search_path. (transcode_loop): follow the argument change. (str_transcode): preprocessor and postprocessor stuff removed. * enc/trans/iso2022.erb.c: new file. ISO-2022-JP conversion re-implemented. * enc/trans/japanese.erb.c: ISO-2022-JP stuff removed. * enc/trans/utf_16_32.erb.c: follow argument change of FUNso. [ruby-dev:35798] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/README.ja: updated API document for Readline module.kouji2008-08-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (login): raise FTPReplyError if passwd or acctshugo2008-08-071-0/+5
| | | | | | | is not supplied. fixed [ruby-core:18058]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typokazu2008-08-071-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-imenu-create-index-in-block): Fix theknu2008-08-071-0/+6
| | | | | | | | regexp to only pick definition lines properly. `module_funtion' is not a definition of a module named `_function'. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend: add transdb.c.nobu2008-08-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, {bcc,win}32/Makefile.sub (clean-ext): do notnobu2008-08-071-0/+5
| | | | | | | use miniruby. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend: removed needless explicit commands.nobu2008-08-071-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb, {bcc32,win32}/Makefile.sub (CLEANLIBS, CLEANOBJS):nobu2008-08-071-0/+5
| | | | | | | moved clean targets to platfrom makefiles. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/getaddrinfo.c (gai_strerror): ignore only on Haiku.usa2008-08-071-0/+5
| | | | | | | | a patch from <znz at mbf.nifty.com>, [ruby-dev:35796]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/process.rb (test_popen_fork): skip a test which isnaruse2008-08-061-0/+5
| | | | | | freeze in FreeBSD. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * config.guess: add powerpc-apple-haiku, i586-pc-haiku.naruse2008-08-061-0/+5
| | | | | | see [ruby-core:18110] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_intern.h: Add support to Haiku. see [ruby-core:18110]naruse2008-08-061-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | * include/ruby/defines.h: ditto. * configure.in: ditto. * thread_pthread.c: ditto. * io.c: ditto. * lib/mkmf.rb: ditto. * ext/socket/getaddrinfo.c: ditto. * ext/socket/extconf.rb: ditto. * ext/socket/socket.c: ditto. * ext/socket/addrinfo.h: ditto. * ext/socket/getnameinfo.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: mkdir enc/trans before build tables.naruse2008-08-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend: enc/*.c is source but enc/trans/*.c is generated.naruse2008-08-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regenc.c (code_to_mbc): raise RangeError Integer#chrnaruse2008-08-061-0/+6
| | | | | | | when more than 255 is given with single byte encoding. [ruby-dev:35789] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (run_final): runs finalizers with the object terminated.nobu2008-08-061-0/+7
| | | | | | | | * gc.c (rb_gc_call_finalizer_at_exit): keeps finalized objects from linking to freelist. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend: for build in other than srcdir.naruse2008-08-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (transcode_generate_node): codeakr2008-08-061-0/+5
| | | | | | | argument removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (chain_finalized_object): deletes finalizers to be invoked fromnobu2008-08-061-0/+8
| | | | | | | | | | finalizer_table. * gc.c (rb_gc_call_finalizer_at_exit): warns when could not invoke finalizers. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e