aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * ext/extmk.rb, lib/mkmf.rb (with_config): support --with-extensionnobu2005-10-221-1/+6
| | | | | | | options. [ruby-dev:27449] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.[hc] (ruby_add_suffix): constified.ocean2005-10-221-0/+10
| | | | | | | | | | | * util.[hc] (ruby_scan_{oct,hex}): fixed typo. (renamed from scan_{oct,hex}) * util.c: almostly ANSI styled. (except for functions depending on macro and K&R tecknique) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/font.rb, ext/tk/lib/tkextlib/ICONS/icons.rb,nobu2005-10-221-0/+8
| | | | | | | | | | | | ext/tk/sample/tkextlib/treectrl/demo.rb, lib/net/imap.rb, lib/rss/parser.rb, test/rss/test_content.rb, test/rss/test_dublincore.rb, test/rss/test_syndication.rb, test/rss/test_trackback.rb, test/ruby/test_eval.rb, test/socket/test_socket.rb, test/socket/test_udp.rb: Object#fcall was renamed as Object#funcall. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (rb_strftime): removed meaningless volatile modifiers, andnobu2005-10-221-1/+4
| | | | | | | concatenate successive nul characters at once. [ruby-dev:27472] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (sym_inspect), parse.y (parser_yylex, rb_symname_p): checknobu2005-10-221-0/+7
| | | | | | | | | if valid as a symbol name more strictly. [ruby-dev:27478] * test/ruby/test_symbol.rb: tests for [ruby-core:03573]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing.h, missing/*.c: SUSv3 compatible strcasecmp and strncasecmp,ocean2005-10-221-0/+5
| | | | | | | ANSI compatible strtol and strtoul, and ANSI styled other functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rubysig.h (CHECK_INTS): fixed typo. (I believe bit-or is improper)ocean2005-10-211-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/erb (ERB::Main::run): typo fixed. [ruby-core:06337]matz2005-10-211-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * env.h: move struct METHOD and struct BLOCK from eval.c to support NodeWrap and ParseTree. * rubysig.h (CHECK_INTS): prevent signal handler to run during critical section. [ruby-core:04039] * eval.c (load_wait): need not to call rb_thread_schedule() explicitly. [ruby-core:04039] * eval.c (rb_thread_schedule): clear rb_thread_critical. [ruby-core:04039] * eval.c (rb_obj_instance_exec): create instance_exec and module_exec which pass arguments to the block. * eval.c (rb_f_funcall): rename fcall to funcall to follow tradition. * st.c (st_free_table): do not call free() but xfree(). [ruby-core:06205] * eval.c (splat_value): call rb_Array() to convert svalue to values. [ruby-dev:27397] * lib/cgi.rb (CGI::Cookie::parse): Cookies from Nokia devices may not be parsed correctly. A patch from August Z. Flatby (augustzf) in [ruby-Patches-2595]. [ruby-core:06183] * object.c (rb_Array): Array() to raise error for objects without to_ary, nor to_a. * object.c (nil_to_a): revert NilClass#to_a. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h, struct.c (rb_struct_iv_get): constified.ocean2005-10-211-0/+20
| | | | | | | | | | | | | | | | | | | | | * marshal.c: avoid one VC++6 warning for implicit conversion from int to char. * ruby.h: ANSI styled. * bcc32/Makefile.sub (HAVE_HYPOT): added. * ext/socket/extconf.rb: BeOS is only one platform should call closesocket, so check __BEOS__ macro directly. (I was worried accidently HAVE_CLOSESOCKET is defined on windows again because it has it) * ext/socket/{getaddrinfo.c,socket.c}: ditto. ... these are all cosmetic changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: should use LONG_LONG instead of `long long'.ocean2005-10-211-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bignew_1): convertion from `int' to `char' discardsocean2005-10-211-0/+8
| | | | | | | | | | upper bits, (ie. (char)0xff00 -> 0) so it's better to test if nonzero and set 0 or 1 instead of simply casting ... as a flag usage. (but I believe this won't cause actual bug in current implementation) [ruby-dev:27055] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/tools/preproc.rb (prelude): do not append surplusnobu2005-10-201-1/+4
| | | | | | | newlines to fix line numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parser.y (struct parser_params): parser never modify input string.nobu2005-10-201-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c, eval.c, hash.c, st.c, variable.c: changed /* ??? */ stuffocean2005-10-201-0/+5
| | | | | | | protoize generated to ANYARGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, file.c, ruby.c: removed strchr, strrchr, strstr definitionocean2005-10-201-0/+7
| | | | | | | | | because they are defined in missing.h. * missing.h, missing/strchr.c, missing/strstr.c: ANSI styled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): Borland make seems not to allowocean2005-10-201-7/+13
| | | | | | | | empty dependency list. If this change is not good, please correct it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): get rid of a restrictionnobu2005-10-191-0/+7
| | | | | | | | | of Borland make. fixed: [ruby-dev:27460] * ext/ripper/depend: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: wrong log.nobu2005-10-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): do not unnecessary empty directories.nobu2005-10-191-0/+5
| | | | | | | fixed: [ruby-dev:27451] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_join): elements may contain null pointer strings.nobu2005-10-181-0/+5
| | | | | | | report and fixed by Lloyd Zusman (hippoman): [ruby-core:06326] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c, eval.c, gc.c, parse.y, regparse.c, sjis.c, time.c:nobu2005-10-181-0/+5
| | | | | | | made internal symbols static. [ruby-dev:27435] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/depend, ext/dl/extconf.rb, ext/socket/depend,usa2005-10-181-0/+8
| | | | | | | | | | ext/socket/extconf.rb: shouldn't define DESTCLEANFILES in depend, use $distcleanfiles in extconf.rb. * win32/Makefile.sub (distclean-local): should remove .config.h.time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: fixup configure_args for mswin32 configure.usa2005-10-171-0/+6
| | | | | | | * win32/configure.bat (srcdir, target): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: omit non-existing directories.nobu2005-10-161-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* check remote hash tupleseki2005-10-161-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat: remove unnecessary line which preventsusa2005-10-151-0/+5
| | | | | | | creating Makefile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb: (getbinaryfile): allow nil for localfile, andshugo2005-10-151-0/+7
| | | | | | | | returns retrieved data if localfile is nil. * lib/net/ftp.rb: (gettextfile): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typo fixed, again. thanks, Doug Kearns.seki2005-10-151-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (MKFILES): update MKFILES if configure files getnobu2005-10-141-0/+8
| | | | | | | | | | changed. * win32/configure.bat, win32/setup.mak (configure_args): store arguments to configure files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (ioctl): should set errno.usa2005-10-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/config.rb (Config::FileHandler): :UserDir should be nil.gotoyuzo2005-10-141-0/+6
| | | | | | | | It is harmful to permit the access to ~/public_html by default. suggested by Hiroyuki Iwatsuki. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c:nobu2005-10-131-1/+4
| | | | | | | get rid of warnings. fixed: [ruby-core:06247] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (HEAPCNT): bison allocates indivisible size.nobu2005-10-131-0/+5
| | | | | | | fixed: [ruby-core:06261] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.c (Init_openssl): should call OpenSSL_add_ssl_algorithms().gotoyuzo2005-10-121-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_f_test): typo in RDoc comments.eban2005-10-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_obj_respond_to): check if obj responds to the givennobu2005-10-111-4/+4
| | | | | | | | | method with the given visibility. [ruby-dev:27408] * eval.c (rb_respond_to): conform to Object#respond_to?. [ruby-dev:27411] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c, enum.c, eval.c, util.c: safer function pointer usage.nobu2005-10-111-1/+7
| | | | | | | | | | fixed: [ruby-core:06143] * util.h (qsort): removed the definition incompatible to ANSI. fixed: [ruby-core:06147] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_FUNC_ATTRIBUTE): check prefixed attribute formnobu2005-10-111-0/+5
| | | | | | | first. [ruby-dev:27398] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (ripper_initialize): rollback obj_respond_to().nobu2005-10-091-0/+5
| | | | | | | fixed: [ruby-dev:27406] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (Init_Binding): add Binding#dup method. [yarv-dev:666]nobu2005-10-081-14/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/scanf.rb (Scanf::FormatSpecifier#letter, #width): use matchednobu2005-10-081-0/+12
| | | | | | | | | | | | | | substring directly. * ext/nkf/lib/kconv.rb (Kconv.conv): get rid of nil.to_a. * test/ruby/test_assignment.rb, test/ruby/test_iterator.rb: followed change of sample/test.rb. * test/net/http/test_http.rb: removed superfluous splatting stars. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_init_copy): clear PREP flag for copied IO.nobu2005-10-081-0/+5
| | | | | | | fixed: [ruby-dev:27371] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-10-08nobu2005-10-081-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/charset_alias.rb: parse config.charset_alias file directly.nobu2005-10-081-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_parser_malloc, rb_parser_free): manage parser stack onnobu2005-10-081-0/+9
| | | | | | | | | | | heap. [ruby-list:41199] * parse.y (ripper_initialize): use rb_respond_to(). * ext/ripper/depend (check): get rid of re-generating ripper.y always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_free): remove useless code. ↵aamine2005-10-061-0/+5
| | | | | | [ruby-dev:26368] [ruby-dev:27389] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (rb_range_beg_len): should return Qfalse for non-rangematz2005-10-051-2/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | object. * pack.c (EXTEND16): [ruby-dev:27383] * eval.c (set_trace_func): add rb_secure(4) to prevent adding tracing function. * lib/delegate.rb: document update from James Edward Gray II <james@grayproductions.net>. [ruby-core:05942] * process.c (proc_daemon): should restrict execution on levels higher than $SAFE=2. suggested by URABE Shyouhei <shyouhei@ice.uec.ac.jp>. * lib/forwardable.rb: replaced by new implementation from <Daniel.Berger@qwest.com>. [ruby-core:05899] * file.c (path_check_0): disallow sticky world writable directory in PATH (and $LOAD_PATH). [ruby-dev:27226] * numeric.c (fix_idiv): 1.div(1.0) should return integer value. [ruby-dev:27235] * lib/yaml.rb: require 'yaml/constants'. [ruby-core:5776] * lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): add charset information to content-type header.[ruby-core:5127] * lib/xmlrpc/server.rb (CGIServer::serve): ditto. * lib/xmlrpc/server.rb (ModRubyServer::serve): ditto. * lib/xmlrpc/server.rb (WEBrickServlet::service): ditto. * test/dbm/test_dbm.rb (TestDBM::test_s_open_error): remove test_s_open_error test to detect duplicate open. [ruby-dev:27202] * eval.c (splat_value): use to_a to splat non Array object. * object.c (nil_to_a): remove nil.to_a. [experimental] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/server.rb (XMLRPC::Server#initialize): should mount thegotoyuzo2005-10-041-0/+5
| | | | | | | servlet on "/". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/server.rb (XMLRPC::Server#serve): delete wrong callgotoyuzo2005-10-041-0/+5
| | | | | | | of "join". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (do_select, rb_w32_select): brush up.usa2005-10-011-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e