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

15784 Коммитов

Автор SHA1 Сообщение Дата
nobu 210651a8e0 * cygwin/GNUmakefile.in (RUBYDEF): depends on makefiles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-30 03:59:51 +00:00
nobu 77285faf19 * cygwin/GNUmakefile.in (RUBYDEF): adds DATA to non-function symbols
which is not marked as T.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-30 03:57:31 +00:00
nobu e501209104 * lib/test/unit/assertions.rb (assert_respond_to): gets rid of
overcounting.   [ruby-dev:37703]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-30 02:03:32 +00:00
akr e0469eea59 add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-29 18:02:25 +00:00
svn 07408d7d5b * 2009-01-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-29 17:57:21 +00:00
akr 07aeaa0686 * transcode.c (rb_econv_init_by_convpath_i): make it static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-29 17:57:13 +00:00
shugo 1a89baadd3 * load.c (rb_feature_provided): should not calculate len by pointer
subtraction because feature may be a expanded path.
  [ruby-core:21267]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-29 07:32:07 +00:00
nobu 094a247a04 * configure.in (BASERUBY): erases RUBYOPT at the test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-29 05:12:17 +00:00
nobu 958874ba0a * configure.in (OBJCOPY): not used on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-29 05:09:01 +00:00
nobu f10e2af1e6 * lib/securerandom.rb (SecureRandom.uuid): uses unpacked array
instead of string, because String#[] returns one length string.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-29 04:16:17 +00:00
nobu f226c38630 * lib/rake.rb (FileUtils#rake_system): no longer needs workaround
on Windows.  [ruby-core:21339]

* lib/rake/win32.rb (Rake::Win32#rake_system): ditto.

* lib/rake/win32.rb (Rake::Win32#win32_system_dir): no longer
  needs environment variables other than APPDATA now.

* lib/rake.rb (Rake::Application#standard_system_dir): uses
  platfrom specific definition on Windows system.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-29 03:29:53 +00:00
technorama 7dd1a098a6 * lib/securerandom.rb: new method SecureRandom#uuid
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-29 03:20:26 +00:00
usa 68db4a3464 * ext/socket/spclet.c (socket_s_ip_address_list): support Windows XP
or later. (Win2k or earlier is still not supported)



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-29 02:25:39 +00:00
svn d899ed6321 * 2009-01-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-28 15:26:08 +00:00
usa 17bd806aea * ext/zlib/zlib.c (zstream_run): previous change didn't resolve the
problem.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-28 15:26:03 +00:00
usa f80356eb91 * ext/zlib/zlib.c (zstream_run): desperately guard the variable.
[ruby-core:20576]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-28 13:55:13 +00:00
takano32 c4e79b640b * math.c: SEGV is caused by implicit rb_to_float declaration
test_complexrational.rb: [BUG] at IA-64 architecture


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-28 06:42:09 +00:00
nobu 194d0afa95 mime-type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-28 05:57:40 +00:00
nobu 186f7fe9cf properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-27 22:22:34 +00:00
nobu aada62da2b * Makefile.in (distclean): hides removing Doxyfile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-27 22:02:51 +00:00
akr 2d958b7fb0 * ext/socket/init.c (socks_connect_blocking): moved from
sockssocket.c.  [ruby-dev:37834]

* sockssocket.c (socks_init): don't omit "int" type.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-27 11:07:41 +00:00
nobu 9c29032c73 * cygwin/GNUmakefile.in (RUBYDEF): needs DATA marks to export
non-function symbols.  [ruby-core:21582]

* win32/mkexports.rb (Exports::Mingw#each_export): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-27 05:41:38 +00:00
nobu d9cb14ad08 eol-style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-27 04:19:39 +00:00
naruse 7cefea6ff4 * ext/ripper/depend: use VPATH.
If a platform doesn't support VPATH, Ruby doesn't support it:
  for exapmle MSYS. [ruby-core:21570]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-27 04:02:53 +00:00
naruse 6f39590aff * ext/ripper/depend: lex.c's correct path is ../../lex.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-27 03:24:17 +00:00
nobu d232a50435 * lib/mkmf.rb (try_header): checks the header depending on
platform.

* lib/mkmf.rb (have_header, find_header): use try_header.

* win32/Makefile.sub (try_header): uses try_compile to get rid of
  slow -E option of VC.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-27 02:09:47 +00:00
nobu c938de20cd * common.mk (distclean-enc, realclean-enc): do not call clean of
enc.mk twice or more.

* enc/depend (cleanobjs): added deffile.

* lib/mkmf.rb (create_makefile): removes deffile at clean instead
  of distclean.

* win32/Makefile.sub (miniruby, LIBRUBY_SO): removes lib and exp
  files.

* win32/Makefile.sub (clean, distclean): have moved to common.mk.

* win32/rmdirs.bat: omits `not empty' message.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-27 02:03:54 +00:00
nobu 882cb2e37d * transcode.c (struct rb_transcoding): added ary member for debug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-27 01:15:37 +00:00
nobu 7788bbfaf5 * Doxyfile.in (FILE_VERSION_FILTER, INPUT_FILTER): should not use
./miniruby directly for cross compiling.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-27 01:10:18 +00:00
matz 0fff7aa624 * ext/ripper/depend: fixed dependency path to lex.c.
[ruby-core:21570]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-26 19:06:39 +00:00
matz 85c2f0aa4a ChangeLog: fixed wrong ML ref
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-26 18:53:44 +00:00
matz ad049bc5df * hash.c (rb_any_hash): fixed performance issues with nil, true,
false as hash keys.  a patch from Matthias Waechter.  
  [ruby-core:21568]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-26 18:48:47 +00:00
svn f327dd57bb * 2009-01-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-26 18:28:19 +00:00
matz a0947ecd75 * lib/mkmf.rb (create_makefile): should point correct path to
ruby.h and defines.h.   [ruby-core:21570]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-26 18:27:58 +00:00
nobu 62734f6db5 * process.c (proc_spawn_v): removed unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-26 07:32:53 +00:00
nobu c330fb421e * array.c (rb_ary_aset): fixed arguments evaluation order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-26 07:00:43 +00:00
nobu 5225998612 * lib/pathname.rb (chop_basename, prepend_prefix): use o option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-26 06:49:46 +00:00
nobu 083bddec3e * dln.c (FUNCNAME_PATTERN): simplified conditional expression.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25 07:44:39 +00:00
akr efdef4dbe2 * ext/socket/socket.c (socket_s_ip_address_list): renamed from
socket_s_list_ip_address.  [ruby-dev:37806]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25 07:36:45 +00:00
nobu 45c4ae9b8b * ext/socket/socket.c (socket_s_list_ip_address): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25 03:33:54 +00:00
nobu 050a8e912f * cygwin/GNUmakefile.in (RUBYDEF): needs read-only section too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25 03:17:28 +00:00
nobu 0243b1d29c * win32/Makefile.sub (clean-ext): condition of EXTS was inverted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25 03:03:00 +00:00
nobu cdaadbd903 * lib/mkmf.rb (create_makefile):fixed the variables order because
converter proc refers the separator.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25 02:50:24 +00:00
nobu 0834056aec * common.mk (clean-extout): removes extout directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25 02:23:47 +00:00
nobu 97de7d1081 * Makefile.in, win32/Makefile.sub (RMDIRS): remove directory and
parents.

* Makefile.in, win32/Makefile.sub (distclean-rdoc): added to remove
  temprary rdoc.

* Makefile.in, win32/Makefile.sub (distclean): removes extout
  directory.

* Makefile.in, win32/Makefile.sub (clean-ext): skips non-existent
  directories.

* common.mk (clean, distclean): cleans rdoc.

* configure.in (RMDIRS, RMALL): added to clean extout.

* lib/fileutils.rb (FileUtils#rmdir): added :parents option.

* lib/mkmf.rb (create_makefile): cleans installed files at clean
  instead of distclean.

* lib/mkmf.rb (create_makefile): added clean-so and clean-rb.

* lib/mkmf.rb (def init_mkmf): added DISTCLEANDIRS.

* lib/un.rb (rmdir): added -p option.

* tool/rmdirs, win32/rmdirs.bat: removes directory and the parents.

* win32/rm.bat: added -r option.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25 02:06:29 +00:00
nobu 0506348ef5 * dir.c (join_path): use strlcat() to force link.
* dir.c (glob_helper): no strcpy() is needed since len is known.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25 00:08:06 +00:00
svn 940e021edc * 2009-01-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-24 21:45:48 +00:00
technorama 7361a2ecb3 * ext/openssl/ossl_ssl.c: Server Name Indication support.
new methods SSLContext#server_name_cb=, SSLSocket#hostname=.

* test/openssl/test_ssl.rb: Tests for above.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-24 21:45:42 +00:00
nobu b9170351da * lib/mkmf.rb (configuration): tools under the top source
directory are not installed, so unusable outside extmk.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-23 23:21:16 +00:00
eban 3e76849cc8 * golf_prelude.rb (Enumerator#inspect): avoid warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-23 08:26:10 +00:00