summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/dl/handle.c (rb_dlhandle_sym) removing unnecessary code. Addingtenderlove2009-10-252-3/+33
| | | | | | documentation and tests for current functionality. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/handle.c (rb_dlhandle_close) check return value of dlclose()tenderlove2009-10-242-2/+30
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (**): Optimization (up to 45% faster)marcandre2009-10-242-11/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_flat_map): new method that concatenates the valuesmatz2009-10-242-0/+49
| | | | | | from given block. also provides alias #collect_concat. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_set_default_proc): checks arity of defalt_procmatz2009-10-244-4/+16
| | | | | | of a Hash. [ruby-core:26087] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-25svn2009-10-241-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_obj_cmp): defines Object#<=>. [ruby-core:24063]matz2009-10-243-1/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix (transpose): bug fix for Matrix.empty(0,42).tmarcandre2009-10-241-0/+1
| | | | | | cf [ruby-core:23598] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix (column): handle negative arguments. cf [ruby-core:23598]marcandre2009-10-241-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix (minor): Also handle negative arguments like Array#[]marcandre2009-10-241-5/+18
| | | | | | cf [ruby-core:23598] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_class_new): move class check to rb_check_inheritable().matz2009-10-233-5/+11
| | | | | | | * class.c (rb_check_inheritable): should not allow subclass of class Class. [ruby-core:26225] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ext/dl/handle.c (rb_dlhandle_initialize) added rb_secure(2)tenderlove2009-10-233-1/+29
| | | | | | | [ruby-core:25762] * ext/dl/dl.c (rb_dl_dlopen) removed rb_secure(2) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-24svn2009-10-231-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_cntl): update max file descriptor by the result ofakr2009-10-232-0/+8
| | | | | | | fcntl(F_DUPFD). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo.akr2009-10-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (target, target_alias): replace with real cpu.nobu2009-10-233-5/+16
| | | | | | | * mkconfig.rb: build* are not needed in rbconfig.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (warnflags): use -Wextra only whennobu2009-10-232-11/+26
| | | | | | | -Wno-missing-field-initializers is available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (optflags): removed -fomit-frame-pointer by default.nobu2009-10-232-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname::SAME_PATHS): FNM_SYSCASE is alwaysnobu2009-10-232-1/+6
| | | | | | | non-nil. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.c (ruby_initial_load_paths): moved terminating semicolon.nobu2009-10-221-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, Makefile.in, win32/Makefile.sub (XRUBY): runnablenobu2009-10-225-1/+17
| | | | | | | | | ruby without current libraries. * common.mk (rdoc): use XRUBY. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (warnflags): use -Wextra instead of -Wall.nobu2009-10-224-6/+13
| | | | | | | * gc.c (mark_current_machine_context): get rid of warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_obj_basic_to_s_p): typo. Please become familiar withusa2009-10-222-1/+6
| | | | | | | | the ANSI style. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (assert_in_out_err): test_stdout andakr2009-10-223-3/+11
| | | | | | | | | | test_stderr should be an array. * test/ruby/test_rubyoptions.rb (test_notfound): test_stdin of assert_in_out_err should be a string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils#fu_get_uid, fu_get_gid): Do notknu2009-10-222-8/+19
| | | | | | | | convert an integer back and forth. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg_prepend): removed. a patch from Mikhail T. innobu2009-10-222-1/+5
| | | | | | | [ruby-core:26217]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-22svn2009-10-211-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_obj_inspect): print instance variables only whenmatz2009-10-213-2/+23
| | | | | | | | Object#to_s is not overridden. [ruby-core:24425] * class.c (rb_obj_basic_to_s_p): new function. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_obj_inspect): fixed rdoc about the case that to_snobu2009-10-212-3/+7
| | | | | | | is called. [ruby-core:24425] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/scanf/test_scanfio.rb (TestScanfIO): needs to inheritnobu2009-10-211-3/+4
| | | | | | | | | | TestCase. * test/scanf/test_scanfio.rb (TestScanfIO#test_io): fixed a typo. close test data file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/{marshaltestlib,test_marshal}.rb: suppressed warnings.nobu2009-10-212-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/logger/test_logger.rb (TestLogDevice#test_write): checknobu2009-10-202-0/+11
| | | | | | | also error message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (transpose, inspect): Bug fixmarcandre2009-10-201-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (empty): Improved rdocmarcandre2009-10-201-2/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: Added summary of r25412, cf [ruby-core:23598]marcandre2009-10-201-0/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use Array#permutation for permutation tests.naruse2009-10-201-21/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * added monitor.rb test. see #2240 the bug on ruby_1_8.nahi2009-10-201-0/+27
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/digestauth.rb: typo in exception message fixed.nahi2009-10-202-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-21svn2009-10-201-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: imported upstream version (logger/1.2.7) see #2238.nahi2009-10-203-55/+205
| | | | | | | | | | * do not raise an exception even if log writing failed. * do not raise ShiftingError if an aged file already exists. (no ShiftingError will be raised from 1.2.7, just warn() instead) * test/logger/test_logger.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: Bug fix. See detail [ruby-core:23598].keiju2009-10-202-96/+123
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_symbol, r_symreal): fixed the order of symbol andnobu2009-10-202-2/+10
| | | | | | | | its encoding modifier, in order to make the dump readable from 1.8. [ruby-dev:39515] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h (finite, scalb): inline'ed non-standardusa2009-10-202-9/+18
| | | | | | | identifier macros. [ruby-core:2234] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (ripper_intern): enable literal optimization.nobu2009-10-202-8/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ripper/test_*.rb: fixed indent.nobu2009-10-204-31/+26
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (method_call): dispatch symbols. a patch from Andy Keep innobu2009-10-203-9/+26
| | | | | | | [ruby-core:26169]. [ruby-core:26165] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (mlhs_basic): fixed handling splat in middle of mlhs. anobu2009-10-203-22/+46
| | | | | | | patch from Andy Keep in [ruby-core:26163] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-20svn2009-10-201-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_here_document): dispatch delayed heredocnobu2009-10-205-26/+74
| | | | | | | contents. based on a patch from Andy Keep in [ruby-core:24855]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gdbinit (rb_method_entry): search method entry by class and id.nobu2009-10-192-1/+65
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e