Commit graph

24190 commits

Author SHA1 Message Date
kosaki
0b18cf7ff6 fix up r34199
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-04 04:53:57 +00:00
ayumin
a48e727f85 merge revision(s) 33343:
* test/rexml/test_sax.rb: add require rexml/document.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 10:16:53 +00:00
kosaki
31cf6801e8 merge revision(s) %s: 33757:33758
* include/ruby/defines.h (FLUSH_REGISTER_WINDOWS): move sparc asm code
	  to a separete file sparc.c for preventing inlining optimization.
	  Patched by Jurij Smakov. [Bug #5244] [ruby-core:40685]
	* sparc.c (rb_sparc_flush_register_windows): ditto.
	* configure.in: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 10:12:07 +00:00
kosaki
0239882c81 merge revision(s) 34108:
* ext/readline/readline.c (Init_readline): libedit check
	  rl_getc_function only when rl_initialize() is called, and
	  using_history() call rl_initialize(). This assignment should be
	  placed before using_history(). [ruby-core:40641] [Bug #5539]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 04:54:20 +00:00
kosaki
379a35b870 merge revision(s) 33566:
* tool/rbinstall.rb (install_recursive, bin-comm): split mere
	  string not path name.  [ruby-core:40462] [Bug #5492]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 04:48:34 +00:00
kosaki
d838b0d043 merge revision(s) 33556:
* win32/Makefile.sub (CONFIG_H): have stdint.h if VC2010.
	  [Bug #5243]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 04:42:33 +00:00
kosaki
0b217230ea merge revision(s) 34190:
* tool/merger.rb (#version_up): version.h date should be Japanese
	  locale date.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 02:41:20 +00:00
kosaki
bade2a2d38 merge revision(s) 33577:
* configure.in: check -fno-omit-frame-pointer acceptance and usage
	  under MinGW. [ruby-core:39957] [Bug #5407]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 02:37:28 +00:00
svn
b3b5650307 * 2012-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 01:22:32 +00:00
kosaki
398a718d2e merge revision(s) 33472:
------------------------------------------------------------------------
r33472 | xibbar | 2011-10-17 13:33:57 -0400 (Mon, 17 Oct 2011) | 4 lines

Tue Oct 18 02:24:19 2011  Takeyuki FUJIOKA  <xibbar@ruby-lang.org>

* lib/cgi/core.rb (QueryExtension#read_multiparat): replace 'stdinput'
  from '$stdin' because using fast cgi. [Bug #5451]
------------------------------------------------------------------------


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 01:22:28 +00:00
svn
275e7841a6 * 2012-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 01:05:44 +00:00
kosaki
7444bbac6b merge revision(s) 33532:
* include/ruby/ruby.h (SIZE_MAX): define SIZE_MAX if not defined.
	  patched by The Written Word Inc. [ruby-core:40422] [Bug #5489]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 01:05:41 +00:00
svn
b588fc2fed * 2012-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 01:00:28 +00:00
kosaki
6bdde0e5e6 merge revision(s) 33468:
* ext/pty/pty.c (pty_check): should return nil until the child
	  terminates or stops.  [ruby-dev:44600] [Bug #2642]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 01:00:23 +00:00
svn
9e736114eb * 2012-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 00:27:49 +00:00
kosaki
d0ad683bb2 merge revision(s) 33030:
* thread.c (update_coverage): skip coverage count up if the current
	  line is out of the way.  rb_sourceline() is unreliable when source
	  code is big.  [ruby-dev:44413]

	* test/coverage/test_coverage.rb: add a test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 00:27:45 +00:00
svn
60f63dc385 * 2012-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 00:09:26 +00:00
kosaki
8d82657abb merge revision(s) 33693:
* thread_pthread.c (gvl_yield): don't prevent concurrent sched_yield().
	  [Bug #5130] [ruby-core:38647]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-03 00:09:21 +00:00
svn
27fd7ee4a8 * 2012-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-02 23:55:31 +00:00
kosaki
496e9a7bb0 merge revision(s) 33630:
* win32/configure.bat: disable delayed expansion of enironment variable.
	  [Bug #5517] [ruby-core:40531]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-01-02 23:55:25 +00:00
svn
cae12e5d25 * 2011-12-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-30 05:56:56 +00:00
marcandre
52a70d99c6 * vm_core.h: Fix comment about arg_opts of iseq and some typos
* doc/re.rdoc: Rdoc small fixes

* iseq.c: Fix comment

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-30 05:56:53 +00:00
nobu
b2f4548334 * doc/ChangeLog-1.9.3, test/gdbm/test_gdbm.rb: fixed mingw typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-28 02:40:28 +00:00
svn
9a75b9198a * 2011-12-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-28 02:23:06 +00:00
nobu
b44913754e * lib/fileutils.rb (FileUtils::Entry_#entries): use utility method
instead of typoed regexp.  [ruby-core:41829] [Bug #5817]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-28 02:22:52 +00:00
svn
def733c556 * 2011-12-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-20 06:52:08 +00:00
marcandre
a3192373a5 * io.c: Improve rdoc for {File|IO}.write
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-20 06:52:04 +00:00
tenderlove
d789b38526 removing a file I accidentally added. :(
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-18 02:01:33 +00:00
svn
50761244b1 * 2011-12-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-15 01:45:05 +00:00
nobu
58b5838d4e * array.c (rb_ary_reject_bang, rb_ary_delete_if): update rdoc.
documentation from Thomas Leitner <t_leitner AT gmx.at> in
  [ruby-core:41616].  [Bug #5752]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-15 01:44:58 +00:00
svn
046517c061 * 2011-12-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14 06:28:39 +00:00
nobu
1bf94da4f8 * transcode.c (str_encode): about the extension of :fallback
option since 1.9.3.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14 06:28:32 +00:00
nobu
57a2457d13 * test/dtrace/test_object_create.rb: property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-12 20:49:31 +00:00
svn
f7a9b07cbe * 2011-12-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-12 17:47:36 +00:00
tenderlove
a7c2faebb0 merge revision(s) 33160,33381,33382,33383,33384,33385:
* ext/psych/lib/psych.rb: update psych version.
    * ext/psych/psych.gemspec: generate new gemspec for new version.

    * ext/psych/lib/psych.rb: calling `yaml` rather than `to_yaml`.
    * ext/psych/lib/psych/nodes/node.rb: Rename `to_yaml` to just `yaml`
      in order to avoid YAML::ENGINE switching from replacing this method.
    * test/psych/helper.rb: fix tests for method name change.
    * test/psych/test_document.rb: ditto
    * test/psych/visitors/test_emitter.rb: ditto

    * ext/psych/lib/psych/scalar_scanner.rb: Match values against the
      floating point spec defined in YAML to avoid erronious parses.
    * test/psych/test_numeric.rb: corresponding test.

    * ext/psych/lib/psych/visitors/to_ruby.rb: ToRuby visitor can be
      constructed with a ScalarScanner.
    * ext/psych/lib/psych/visitors/yaml_tree.rb: ScalarScanner can be
      passed to the YAMLTree visitor.

    * ext/psych/lib/psych/visitors/to_ruby.rb: Define Regexp::NOENCODING
      for 1.9.2 backwards compatibility.
    * ext/psych/lib/psych/visitors/yaml_tree.rb: Fix Date string
      generation for 1.9.2 backwards compatibility.

    * ext/psych/lib/psych/visitors/yaml_tree.rb: emit strings tagged as
      ascii-8bit as binary in YAML.
    * test/psych/test_string.rb: corresponding test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-12 17:47:29 +00:00
svn
83d1eebb71 * 2011-12-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-07 10:04:33 +00:00
nobu
8d7ef97e3a * configure.in (rpath): fix typo in the help string. a patch from
Yuji Yamano <yyamano AT kt.rim.or.jp> in [ruby-list:48568].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-07 10:04:26 +00:00
naruse
5ce73b510e merge revision(s) r33613:
* complex.c (nucomp_rationalize): fix function.  [ruby-core:40667]
	  [Bug #5546]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30 09:23:04 +00:00
tenderlove
58398d5106 merge revision(s) 33775:
* ext/psych/lib/psych.rb (load_file): make sure opened yaml files are
	  also closed. [ruby-core:41088]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-30 00:21:27 +00:00
naruse
72fba5701c merge revision(s) 33198,33199:
* numeric.c (flo_round): Fix criteria for 32 bits platform
	  part 2 of [bug #5276]

	* numeric.c (dbl2ival): Fix Float#divmod and #round for 32 bit
	  platform. part 1 of [bug #5276]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-29 18:04:00 +00:00
naruse
68336beb50 merge revision(s) 33158,33185,33186:
* numeric.c (flo_round): substitute machine dependent magic number.

	* numeric.c (flo_round): Make Float#round round big values [bug
	  #5272]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-29 17:39:36 +00:00
naruse
ee490943c1 merge revision(s) 33183,33185:
* numeric.c (int_round): Integer#round always returns an Integer [Bug
	  #5271]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-29 17:29:41 +00:00
svn
08cd580fa6 * 2011-11-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07 16:33:59 +00:00
tarui
dc08e762fc * io.c (make_writeconv): unversal_newline converter is for reading.
so, if the io is text mode and has ECONV_UNIVERSAL_NEWLINE_DECORATOR
  flag, use crlf_newline converter for writing.
  this change fixes the problem about the luck of CR up Kernel.p and
  Kernel.puts to stdout/stderr on Windows.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07 16:33:51 +00:00
svn
520ab49712 * 2011-11-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07 14:45:58 +00:00
arton
547584dd21 * io.c (io_fflush): remove fsync().
* io.c (rb_io_flush, rb_io_rewind): fsync() here.
These pathces are backports of trunk r33651 for [Bug #5585]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07 14:45:27 +00:00
svn
8f29ff7df2 * 2011-10-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-30 09:47:33 +00:00
yugui
2c1d1fb14b Bump version
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-30 09:47:30 +00:00
naruse
14c3e60d9c Skip too heavy test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-11 02:50:59 +00:00
kosaki
62b1932820 merge revision(s) 33296:
* test/-ext-/old_thread_select/test_old_thread_select.rb:
	  select() with timeout may return early in old Linux kernels
	  with 250 Hz tickrate and no dynticks, so skip everything older
	  than 2.6.32 (which has long term support).
	  And, Make the timing assertions consistently use assert_operator with
	  timing difference in error message
	  Patch by Eric Wong. [Bug #5335] [ruby-core:39618]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-10-11 02:33:33 +00:00