aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * missing/*.c: include missing.hnobu2010-07-2818-0/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c: typos.usa2010-07-282-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-28svn2010-07-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c: (RB_PAGE_SIZE): renamed from PAGE_SIZE. [ruby-dev:41870]naruse2010-07-282-6/+12
| | | | | | * cont.c: (RB_PAGE_MASK): renamed from PAGE_MASK. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pathname/pathname.c (path_taint): use rb_obj_taint.akr2010-07-273-3/+16
| | | | | | | | (path_untaint): Pathname#untaint translated from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (MINIRUBY): get rid of appending spaces for eachnobu2010-07-271-1/+2
| | | | | | | reconfigure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_framework): added.nobu2010-07-272-0/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defines.h, intern.h, missing.h, ruby.h, st.h, util.h: includenobu2010-07-277-8/+25
| | | | | | | config.h and defines.h for autoconf macros. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_cmp): typo.usa2010-07-272-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c, compile.c, dir.c, file.c, iseq.c, parse.y, random.c:naruse2010-07-2711-15/+22
| | | | | | | | clean unused-value warnings. * cont.c, process.c, vm_exec.h: clean cast warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (rb_iseq_translate_threaded_code): removed duplicated code.nobu2010-07-262-6/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pathname/pathname.c (path_taint): Pathname#taint translated fromakr2010-07-263-1/+14
| | | | | | | pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (config.h): add include guard.nobu2010-07-264-1/+23
| | | | | | | * win32/Makefile.sub, bcc32/Makefile.sub (config.h): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (XCFLAGS): missing.h needs config.h.nobu2010-07-262-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/missing.h: revert a part of r28727. config.h is expectedusa2010-07-262-2/+6
| | | | | | | | to include only once, before including defines.h. including it here breaks some macro definitions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: define BROKEN_CLOSE only on FreeBSD.naruse2010-07-262-1/+6
| | | | | | This needs to merge to 1.9.2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (rb_thread_mark): should mark iseq itself other than normalnobu2010-07-262-1/+9
| | | | | | iseq. [ruby-dev:41880] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: define BROKEN_CLOSE on FreeBSD.naruse2010-07-264-3/+14
| | | | | | | | | This fixes build failure on MSVC. [ruby-core:31481] * include/ruby/ruby.h, include/ruby/missing.h: use BROKEN_CLOSE for replacing close(2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-26svn2010-07-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (rb_thread_mark): mark only self of normal iseqs, notnobu2010-07-262-1/+6
| | | | | | nodes. [ruby-dev:41874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_cmp): honor the result of infinite? method of thenobu2010-07-243-4/+25
| | | | | | other. [ruby-core:31470] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (EnvUtil#.suppress_warning): added.nobu2010-07-244-6/+24
| | | | | | | * test/ruby/test_float.rb (TestFloat#test_Float): suppress warnings under --verbose. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_mutex_m.rb: property.nobu2010-07-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mutex_m.rb (sleep): added Mutex_m#sleep to support ConditionVariable.shugo2010-07-233-0/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_MINGW32): ignore msvc suffix.nobu2010-07-232-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_TRY_CFLAGS): try with werror turned on.nobu2010-07-232-15/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_expr_str): fixed out-of-boundary access at invalidnobu2010-07-232-6/+14
| | | | | | multibyte characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (XCFLAGS): reverted mistakenly removed option.nobu2010-07-233-0/+10
| | | | | | | | [ruby-dev:41872] * include/ruby/missing.h: needs ruby/config.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-23svn2010-07-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_to_i): allow complex with imaginary zero to bematz2010-07-222-3/+10
| | | | | | | | converted. * complex.c (nucomp_to_f, nucomp_to_r): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_EXTERN): unnecessary after all.nobu2010-07-222-13/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (get_stack): fix memory leak; pthread_attr_destorymame2010-07-222-2/+6
| | | | | | | must be called even when pthread_getattr_np is used. [ruby-core:31269] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_expr_str): fix broken Regexp#inspect when itnaruse2010-07-223-3/+11
| | | | | | | | is ASCII-8BIT and non-ASCII character. The length of character should be from original byte string. [ruby-core:31431] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/missing.h: add prototype for ruby_close().naruse2010-07-222-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_EXTERN): ignore invalid attribute.nobu2010-07-222-13/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: fix for older autoconf.nobu2010-07-222-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb (test_unused_variable): unusednobu2010-07-221-2/+5
| | | | | | variable in toplevel and eval are no longer warned. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/{intern,io}.h: add missing prototypes.nobu2010-07-229-12/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (XCFLAGS): use -fvisibility=hidden if possible.nobu2010-07-2126-3/+200
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RMDIR): use --ignore-fail-on-non-empty if possible.nobu2010-07-215-6/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_EXTERN): FUNCTION-BODY was missing.nobu2010-07-212-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-22svn2010-07-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix signature of rb_ensure and rb_rescue to match the implementation in ↵drbrain2010-07-212-2/+7
| | | | | | README.EXT git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * template/fake.rb.in: get rid of embeding an absolute path.nobu2010-07-212-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Load gems properly. Fixes [ruby-core:31377]evan2010-07-213-6/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c: add short documentation about named reference.naruse2010-07-213-0/+17
| | | | | | [ruby-core:31294] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (local_push_gen): disable unused variable warnings innobu2010-07-212-1/+6
| | | | | | eval. [ruby-dev:41869] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_method_boundp): revert r28543, r28564.naruse2010-07-213-13/+17
| | | | | | They may be merged in Ruby 2.0. [ruby-core:31217] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/common.rb: Have URI#route_to, URI#route_from acceptmarcandre2010-07-213-36/+14
| | | | | | | | string-like arguments [ruby-core:30961] * lib/uri/generic.rb: ditto for URI.join, URI#merge git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb (CMath#cbrt): cbrt should accept a negative realmame2010-07-212-1/+7
| | | | | | numbers. [ruby-core:31234] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e