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

19306 Коммитов

Автор SHA1 Сообщение Дата
mame 1ab5d3947c * ext/openssl/ossl_x509store.c (ossl_x509store_initialize): initialize
store->ex_data.sk.  [ruby-core:28907] [ruby-core:23971]
  [ruby-core:18121]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 14:01:24 +00:00
knu 4685b6d9c8 * Makefile.in (DOXYGEN): Define a missing variable DOXYGEN. Build
has been failing when doxygen(1) is found by configure but the
  variable is not defined by the system and make(1) does not allow
  an empty command. ("@$(DOXYGEN)" was the cause)



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 11:19:22 +00:00
shugo 4f7d401d51 * test/ruby/test_hash.rb (test_recursive_key): recursive keys are
permitted now.  [ruby-dev:40735]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 10:32:36 +00:00
tenderlove 1a80b5c01f * lib/yaml.rb: adding deprecation notices to YAML methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 04:01:11 +00:00
tenderlove f82b8e76e8 * lib/yaml/basenode.rb: deprecating YPath methods
* lib/yaml/stream.rb: deprecating YAML::Stream#edit
* test/yaml/test_yaml.rb: requiring yaml/ypath for tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 03:42:21 +00:00
tenderlove e959fda8ff * lib/yaml/encoding.rb: YAML.encode, YAML.decode are deprecated.
* lib/yaml/stringio.rb: yaml/stringio.rb is deprecated.

* lib/yaml/ypath.rb: YAML::YPath is deprecated.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 03:33:08 +00:00
nagai 9e415266a8 * ext/tk/extconf.rb: fix [ruby-core:28901] [Bug #2997]. Thanks, Michael Graff.
* ext/tk/tcltklib.c: use xfree() for memories allocated by ALLOC().
* ext/tk/tkutil/tkutil.c: ditto.
* ext/tk/lib/tkextlib/version.rb: forgot updating.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 19:55:32 +00:00
svn 77891d864f * 2010-03-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 15:05:28 +00:00
wanabe dfcf364384 add ref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 15:05:21 +00:00
wanabe 0a6418d85e * thread.c (thread_reset_event_flags): set flags to thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 14:56:38 +00:00
mame e70499732a * file.c (rb_get_path_check): prefer #to_path over #to_str. a patch
originally written by me, and modified by Nobuyoshi Nakada.
  [ruby-core:24257]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 14:22:41 +00:00
kazu 9c15f6f822 * NEWS: Array#{uniq,uniq!} can take a block. see [ruby-dev:37998]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 09:11:47 +00:00
kazu 21f56f6de9 * NEWS: add IO#autoclose=, IO#autoclose?, IO#codepoints, IO#each_codepoint.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 08:23:17 +00:00
nobu b3a039a2cb * win32/win32.c (rb_w32_{read,write}): fix handle leaks. based on
a patch from Heesob Park in [ruby-core:28919].  [ruby-core:28833]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 05:50:08 +00:00
kazu 98131a6da1 * NEWS: add Kernel#singleton_class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 03:39:00 +00:00
muraken e4d8dc5c46 * bignum.c, node.h, strftime.c, enc/trans/utf8_mac.trans: added explicit casts for supplessing warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 03:08:28 +00:00
muraken 31bc607cf1 * test/ruby/test_dir_m17n.rb: HFS+ escapes invalid byte sequences of filenames.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 02:37:22 +00:00
nobu da8a31bc47 * configure.in (ruby_version): needs runnable CPP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 20:44:45 +00:00
nobu 2ca764948c * tool/make-snapshot (package): take a breath for HP-UX make
[ruby-core:28938].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 19:42:24 +00:00
nobu d0cd67ef68 * tool/make-snapshot (Dir.mktmpdir): for 1.8.6 backward compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 19:38:22 +00:00
nobu 058b9db421 * tool/make-snapshot (package): $: no longer contains ".", in trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 19:36:57 +00:00
nobu 487a267899 * ext/iconv/charset_alias.rb: update of URL. [ruby-dev:38360]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 18:52:50 +00:00
mame 96ecfe9a57 * thread.c (thread_create_core): let new thread inherit RUBY_EVENT_VM
of event_flags.  [ruby-core:25191]

* thread.c (rb_threadptr_exec_event_hooks): delete RUBY_EVENT_VM if
  all event_hooks are removed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 14:47:00 +00:00
mame 30a4825aea * configure.in: revert the previous commit, which seemed to break make
install.  The files of standard libraries are directly installed to
  $(PREFIX)/lib/ruby instead of $(PREFIX)/lib/ruby/1.9.1

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 14:01:57 +00:00
nobu 91e6d01790 * configure.in (LDSHARED, CPP): keep $(CC). [ruby-core:28912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 09:16:13 +00:00
nobu e3888976d0 * vm_method.c (rb_add_method): prototype of rb_vm_get_sourceline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 06:08:47 +00:00
nobu cb2f56aaf4 * win32/win32.c (rb_w32_read): limit read size to 16KB if the file
seems to be console.  [ruby-core:28902]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 05:34:05 +00:00
naruse 152934a300 * file.c (file_expand_path): set length of string before calling
rb_enc_check because rb_enc_check scans its content.
  This prevents warnings by valgrind.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 01:25:02 +00:00
svn 064c36a041 * 2010-03-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-23 17:29:37 +00:00
jeg2 e4bd450dfe Giving proper credit for the new parser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-23 17:29:29 +00:00
jeg2 1bd1128989 * lib/csv.rb: Incorporating the fixes from the recent
FasterCSV releases:  1.5.2 and 1.5.3.  [ruby-core:25038]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-23 14:59:25 +00:00
akr 0471422beb enable Object#inspect doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-23 14:00:35 +00:00
akr ab284526a4 update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-23 13:59:16 +00:00
shugo a3e10f380a * object.c (rb_obj_singleton_class): new method
Kernel#singleton_class.  [ruby-core:21702]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-23 09:38:54 +00:00
tenderlove 094d03c5d3 * test/yaml/test_hash.rb (test_ref_append): adding a test for idref
append nodes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-22 20:18:57 +00:00
svn 0899c59b4b * 2010-03-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-22 16:15:32 +00:00
akr a4fa54a10a * ext/socket: use rsock_ prefix for internal initialization functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-22 16:15:21 +00:00
wanabe 91533255f8 add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-22 11:44:17 +00:00
wanabe c46f71399a * proc.c (rb_method_location): return attr's location if it is setup.
[Feature #2084]

* NEWS: follow above.

* vm_method.c (rb_add_method): save attr's location.

* gc.c (mark_method_entry): mark attr's location.

* method.h (rb_method_definition_t): add member to save attr's location.

* vm_eval.c (vm_call0): follow above.

* vm_insnhelper.c (vm_call_method): ditto.

* vm_method.c (rb_method_definition_eq): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-22 11:44:01 +00:00
tadf 5d8f695032 * lib/date.rb (Date#>>): fixed. [ruby-core:28011]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-22 10:32:10 +00:00
akr 652484598d update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-22 09:45:57 +00:00
nobu 0edceaa7c7 * configure.in (RMDIRS): use rmdir -p if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-22 09:01:19 +00:00
nobu cce8bbb794 * Makefile.in ({dist,real}clean-ext): fix for removing ext
directories.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-22 08:38:10 +00:00
akr 1561d3fb8b update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-22 03:33:14 +00:00
akr 1a40be09d6 update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-22 01:24:28 +00:00
akr 062780c834 update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-22 00:48:51 +00:00
akr 0647517bda * ext/socket/.document: extracted from ext/.document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-22 00:06:48 +00:00
akr c9e4e4400c * ext/socket/rubysocket.h (rsock_revlookup_flag): declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-21 15:51:07 +00:00
azav e98ffd97c7 * symbian/setup (config.h): RUBY_EXEC_PREFIX defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-21 15:03:00 +00:00
svn 5befc5d5c9 * 2010-03-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-21 15:02:23 +00:00