Граф коммитов

16637 Коммитов

Автор SHA1 Сообщение Дата
nobu 42c9483e6e * svn:ignore, .gitignore: merged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-05 08:49:55 +00:00
naruse 4fda9d1f73 Fix: raised error on tool/ifchange.
* tool/ifchange: Fix: arguments which begin with minus sign may
  parsed as options.  Because of older systems, don't use --
  but use parentheses.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-05 02:33:02 +00:00
naruse 4f364c6bf7 Update to JSON 1.1.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-05 02:32:49 +00:00
svn 1735892962 * 2009-05-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-05 00:05:18 +00:00
naruse 3abca796f4 Fix: DON'T move in_p because before in_p is replaced by buffered data.
* transcode.c: NOMAP is now multibyte direct map.

* transcode.c: remove ASIS.

* transcode_data.h: ditto.

* tool/transcode-tb (ActionMap#generate_info): remove :asis.

* tool/transcode-tb (ActionMap#generate_info): add :nomap0.

* enc/trans/utf8_mac.trans: replace :asis by :nomap0.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-05 00:05:11 +00:00
knu 92c89f12fb * lib/set.rb (SortedSet): Fix document. [Bug #1429]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-02 13:54:09 +00:00
naruse f207f9fd51 * enc/trans/utf8_mac-tbl.rb: don't use Unicode escape.
* enc/trans/utf8_mac.trans: follow above.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-02 01:38:27 +00:00
nobu e4d687f372 * array.c (Init_Array): made #to_s an alias to #inspect to reduce
the result of recursive array.  a patch from ujihisa at
  [ruby-dev:38362]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-02 00:19:41 +00:00
nobu 1f6f4e6b59 * array.c: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-02 00:13:45 +00:00
knu f7b562ef01 * lib/set.rb (Set#merge): Only directly use the passed objects
@hash instance variable when self and the passed object are
  instances of the same class. [Bug #118]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-01 07:52:09 +00:00
knu 8dded0725b * lib/set.rb (SortedSet#add): Do not let an uncomparable object
in. [Bug #118]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-01 07:46:23 +00:00
nobu 35899279e8 * eval_intern.h (_longjmp): never return. see [ruby-core:23241]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-01 04:18:02 +00:00
akr 60b6f22e44 fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-30 17:05:31 +00:00
svn 02ecc990a2 * 2009-05-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-30 16:34:06 +00:00
akr c42a5df5c1 * ext/extmk.rb: use RbConfig instead of Config.
* instruby.rb: ditto.

* lib/rubygems.rb: ditto.

* test/rubygems/test_config.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-30 16:34:01 +00:00
akr d5bfa31f82 * runruby.rb: use RbConfig::CONFIG instead of Config::CONFIG.
* spec/default.mspec: ditto.

* yarvtest/yarvtest.rb: ditto.

* instruby.rb: ditto.

* benchmark/report.rb: ditto.

* benchmark/runc.rb: ditto.

* tool/eval.rb: ditto.

* test/rubygems/test_gem.rb: ditto.

* test/rubygems/test_config.rb: ditto.

* test/rubygems/test_gem_platform.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-30 12:25:23 +00:00
matz 587082d57c * lib/net/http.rb: documentation typo fixed. [ruby-core:23335]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-30 09:19:42 +00:00
nobu 8543ecee53 * enc/trans/utf8_mac.trans: get rid of a 1.9 feature for cross
compile.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-30 06:27:51 +00:00
naruse f7bfe5f2df * encoding.c (rb_filesystem_encoding): Change filesystem_encoding of
Mac OS X to UTF-8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-30 02:38:47 +00:00
naruse 80705b9fbf Add new transcoder: CP51932 <-> CP50221.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-29 12:50:57 +00:00
nobu fea2ebff1a * file.c (rb_file_join): recursive array has no meaning as path
name.  [ruby-core:23329]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-29 06:22:29 +00:00
kazu f4f3096dd3 test/test_timeout.rb (TestTimeout#test_timeout): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-28 10:10:05 +00:00
nobu 46f23b51f6 * lib/pp.rb (Struct#pretty_print): coerce to a string since
anonymous class has name no longer.  [ruby-dev:38349]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-27 22:13:50 +00:00
nobu fbcde451c5 * configure.in (ruby_version): uses sed instead of grep if the
result is need, to get rid of GREP_OPTIONS.  [ruby-dev:38336]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-27 07:47:14 +00:00
nobu 2b08fc1947 * ext/readline/readline.c (readline_getc): use rl_getc_function if
possible, to get rid of hang up at EOF without a newline.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 16:25:15 +00:00
svn c362380d9f * 2009-04-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 15:47:27 +00:00
akr ebd2090d29 update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 15:47:24 +00:00
naruse d0a4f8ada9 * enc/trans/utf8_mac.trans: Add converter for UTF8-MAC.
* enc/trans/utf8_mac-tbl.rb: ditto.

* test/ruby/test_econv.rb: tests for above.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 14:21:43 +00:00
naruse b6285a01fb * tool/transcode-tb (ActionMap#each_firstbyte):
if :asis collides other mappings, use another.

* tool/transcode-tb (ActionMap#generate_info):
  add :asis for ASIS.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 13:25:09 +00:00
naruse 0881a39acd * transcode.c (ASIS): added for multi byte direct map.
* transcode.c (transcode_restartable0): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 13:03:50 +00:00
naruse 67798d11b8 * tool/transcode-tb (ActionMap#generate_node):
Use ActionMap#gennode instead of generate_node
  because of initialization.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 11:34:15 +00:00
naruse ce70dcc0ef * .gitignore: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 11:22:18 +00:00
akr d2214aa2fb * lib/rake.rb: use RbConfig::CONFIG instead of Config::CONFIG.
* lib/rbconfig/datadir.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 11:18:00 +00:00
akr d75996ec8a * time.c (time_arg): unused variable removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 10:30:54 +00:00
nobu 5a809d60bd * io.c: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 09:46:41 +00:00
nobu d222c7533c * bootstraptest/test_io.rb: test for [ruby-dev:38131].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 09:44:35 +00:00
nobu ff8681ba57 * io.c (io_reopen): keeps pathv for prep_stdio. [ruby-dev:38131]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 09:35:34 +00:00
nobu a20f1713c3 * lib/optparse.rb (OptionParser#parse_in_order): do not make an
option from non-option argument.  [ruby-dev:38333]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 06:13:11 +00:00
svn cde360334d * 2009-04-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 00:45:20 +00:00
nagai 0e61068c2b * ext/tk/sample/tkcombobox.rb: fix conflict with autoload definition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 00:45:17 +00:00
nobu 1b67ef40c2 * process.c (proc_setegid): define only if needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 10:28:25 +00:00
nobu a7adde7a57 * configure.in (ac_cv_func_daemon): use daemon(3) only on *BSD.
* process.c (proc_daemon): double fork to ensure not having ctty.
  [ruby-core:23305]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 10:11:15 +00:00
nobu 16acb62022 * process.c (proc_seteuid): define only if needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 09:26:58 +00:00
nobu 1d103770c6 * process.c: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 09:26:22 +00:00
nobu 9bb7a8ccdd * configure.in (ac_cv_func_daemon): use daemon(3) only on *BSD.
* process.c (proc_daemon): double fork to ensure not having ctty.
  [ruby-core:23311]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 09:21:49 +00:00
akr 0dae2c910f * time.c (month_arg): extracted from time_arg.
(validate_vtm): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 07:20:20 +00:00
akr 939383275c * time.c (TIME_COPY_GMT): new macro.
(time_s_at): use TIME_COPY_GMT.
  (time_succ): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 07:04:02 +00:00
akr c7cfaac668 * time.c (time_mload): use TIME_SET_UTC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 06:54:49 +00:00
akr c8f938d0b5 * time.c (time_get_tm): take time_object instead of gmt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 06:48:39 +00:00
akr 4c2e943091 * time.c (time_succ): refactored to avoid gmt variable.
(strftimev): use TIME_UTC_P.
  (time_strftime): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 06:40:59 +00:00