aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * file.c (utime_failed): refined the error message for EINVAL onnobu2009-04-062-13/+65
| | | | | | | | DOSISH platforms, where it may fail depending on filesystems. see [ruby-dev:38277]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (sys_fail2, rb_file_s_readlink, BUFCHECK, rmext),nobu2009-04-063-15/+20
| | | | | | | (rb_file_s_basename): get rid of overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (int_chr): checsk overflow.nobu2009-04-062-1/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/stringio/test_stringio.rb (test_path): StringIO#path is nonobu2009-04-061-4/+0
| | | | | | | longer defined. [ruby-dev:38254] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_path): removed. [ruby-dev:38254]nobu2009-04-063-9/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_fd_resize): does nothing on Win32.nobu2009-04-052-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (Init_stack): moved.nobu2009-04-052-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (RB_NUM_COERCE_FUNCS_NEED_OPID): macro tonobu2009-04-042-0/+6
| | | | | | | check compatibility. [ruby-dev:38162] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb (sitearch): default to arch.nobu2009-04-033-11/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/completion.rb (IRB::InputCompletor::Operators): Addknu2009-04-034-13/+22
| | | | | | | | | | | | | | | | | overloadable negative operators. * lib/irb/ruby-lex.rb (RubyLex#lex_init): Support overloadable negative operators. * lib/irb/ruby-lex.rb (RubyLex#identify_identifier): Minus signs need to be escaped in regexp character class. * misc/ruby-mode.el (ruby-font-lock-keywords, ruby-parse-partial): Support overloadable negative operators. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: quotes arguments with spaces always.nobu2009-04-033-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/getoptlong.rb: remove unused udoc/usage from example.matz2009-04-022-1/+5
| | | | | | [ruby-core:23098] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): updated.nobu2009-04-013-6/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_fork_with_pthread): fail if the child processakr2009-04-012-0/+7
| | | | | | | fail. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): support for parallel make. anobu2009-04-012-1/+6
| | | | | | | patch from Takuto Matsuu at [ruby-dev:38220]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LIBRUBY_LDSHARED): use $(CC) instead of cc.nobu2009-04-012-2/+7
| | | | | | | a patch from Wataru Kimura at [ruby-dev:38225]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c (rb_vm_bugreport): should not #include inside anobu2009-04-012-1/+9
| | | | | | | | function, since headers may have declarations. c.f. [ruby-core:23095] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: ignores version numbers in config.status. replacesnobu2009-04-012-1/+7
| | | | | | | all $$s in program_transform_name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (.c.i): use CPP instead of CC, since gcc -E can'tnobu2009-04-012-1/+6
| | | | | | | work with multiple -arch options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_fd_select): new function to call selectmatz2009-04-014-5/+47
| | | | | | | | | | using rb_fdset_t. * io.c (select_internal): use rb_thread_fd_select instead of rb_thread_select. based on the patch from Kengo Matsuyama. [ruby-dev:38221] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_sleep): RDoc disambiguation. [ruby-talk:332632]matz2009-04-012-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-04-01svn2009-03-311-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2009-03-311-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: fixed the help strings for the header and librarynobu2009-03-312-25/+37
| | | | | | | | dir switches, and updated to use AS_HELP_STRING. patches from Richard Brown, c.f. [ruby-core:23067]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-03-31svn2009-03-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/csv/test_interface.rb, test/csv/test_serialization.rb:jeg22009-03-303-21/+26
| | | | | | | | Trying more fixes some failing tests on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gdbinit (rp): show negative fixnum correctly.akr2009-03-302-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (eval_string_with_cref): replaces the message ifnobu2009-03-302-3/+16
| | | | | | | frozen. [ruby-dev:38208] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-03-30svn2009-03-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/csv/test_interface.rb: Trying a fix for some failing testsjeg22009-03-292-1/+6
| | | | | | | | on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#relative_path_from): compares pathnobu2009-03-283-4/+17
| | | | | | | | components according to system default case-sensitiveness. [ruby-core:22829] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-03-281-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ruby.imp): all symbols in static library need to benobu2009-03-282-2/+9
| | | | | | | | | exported, so that encoding-extensions can be loaded. based on a patch from Yutaka Kanemoto <kinpoco AT gmail.com> at [ruby-talk:332282]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): checks if named argument given twice.nobu2009-03-273-7/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (GETNAMEARG): remembers named arg is used, to get ridnobu2009-03-272-1/+6
| | | | | | | of too many arguments warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (link_command, cc_command, cpp_command): should notnobu2009-03-273-5/+7
| | | | | | | override extout defined in extmk.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (what_type?): checks more restrictively, andnobu2009-03-272-15/+36
| | | | | | | supports universal binary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_cmp): negate the result of reverse comparison.akr2009-03-263-1/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-03-27svn2009-03-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cmpint): FIX2INT may fail on LP64 platforms.akr2009-03-262-1/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sdbm/_sdbm.c: should include "ruby/defines.h" as well formatz2009-03-262-0/+7
| | | | | | | prototypes of compatibility functions on Win32 platform. [ruby-core:22870] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb (String#is_binary_data?): TAB would benobu2009-03-263-10/+14
| | | | | | | | | | | | usually considered to be included in text data. * lib/rdoc/parser.rb (RDoc::Parser.binary?): blksize may be nil and is irrelevant to whether a file is binary. copied from above since TAB and newlines would be usually considered to be included in text data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): considersnobu2009-03-262-2/+14
| | | | | | | --program-prefix and --program-suffix. reapplied r19923. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/{irb,rdoc}: executable.nobu2009-03-263-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (target_alias): replaces cpu with universal too.nobu2009-03-243-2/+16
| | | | | | | | | | * configure.in (target): replaces cpu with arch by --with-arch. * mkconfig.rb (TOPDIR): chops arch in config instead of RUBY_PLATFORM which varies on universal_binary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-03-25svn2009-03-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb (MAJOR, MINOR, TEENY): reads from version.h always.nobu2009-03-242-17/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_SIZEOF): need to include $4.nobu2009-03-242-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-03-24svn2009-03-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_inspect): Cannot access fptr->fd if fptr is NULL.knu2009-03-242-1/+8
| | | | | | | | | This fixes a coredump caused by: ruby -e "class X < IO; def initialize; end; end; p X.new.inspect" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e