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

15808 Коммитов

Автор SHA1 Сообщение Дата
nobu f4e9d9a2c5 * configure.in (RUBY_LIB_VERSION): added for library version, to
split from core version.  [ruby-dev:37748]

* configure.in (RUBY_LIB_PATH, etc): moved actual version
  dependent stuff to version.c.

* ruby.c (ruby_init_loadpath_safe): ditto.

* version.c (ruby_initial_load_paths): moved initial load path
  version depending on version from ruby.c.

* version.h (RUBY_VERSION_{MAJOR,MINOR,TEENY}): now mean library
  and API version, and reverted to 1.9.1.  [ruby-dev:37889]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-05 02:21:37 +00:00
akr 0d0fe1a5ad don't connect to unspecified address (0.0.0.0). OpenBSD reject it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-05 00:09:39 +00:00
kazu 4a7a6794c1 change from assigned variable to called function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 22:46:58 +00:00
kazu 37131afdd3 * ext/readline/readline.c (Init_readline): entry may be NULL.
[ruby-dev:37891]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 22:42:06 +00:00
matz b5ae8db530 * time.c (LOCALTIME): should call tzset() before localtime_r().
[ruby-dev:37896]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 19:09:58 +00:00
azav efdc317e59 Updated Symbain configuration procedure to avoid creating files outside build directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 17:42:03 +00:00
azav dfbe79f239 Updated Symbain configuration procedure to avoid creating files outside build directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 17:31:44 +00:00
azav c501546edd Updated Symbain configuration procedure to avoid creating files outside build directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 17:31:01 +00:00
akr b916afddc9 * transcode.c (make_econv_exception): refine error message for
undefined conversion.  [ruby-core:21828]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 16:45:31 +00:00
akr 5127799e65 add Socket.pair.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 16:21:15 +00:00
akr 5ce10c1359 * ext/socket/socket.c (sock_s_socketpair): make 3rd argument optional.
* ext/socket/unixsocket.c (unix_s_socketpair): follow the above
  change.

* ext/socket/rubysocket.h (sock_s_socketpair): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 16:20:05 +00:00
akr 1934c7a80b test relaxed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 15:42:13 +00:00
akr 3eab19122b add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 15:34:32 +00:00
akr e2f0aeb497 relax tests for MacOS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 15:12:53 +00:00
svn 1d46aa9fc1 * 2009-02-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 15:10:07 +00:00
akr 9dfc90dc70 * ext/socket/raddrinfo.c (addrinfo_ipv6_to_ipv4): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 15:10:03 +00:00
azav ac5b681334 Updated Symbian configuration procedure to avoid creating files outside build directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 14:51:08 +00:00
akr 9845b50c11 relax tests for IPv4 compat/mapped IPv6 addresss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 13:38:24 +00:00
akr e193fa79d6 * transcode.c (make_econv_exception): show U+XXXX form for undefined
conversion error from UTF-8.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 13:01:12 +00:00
akr 5493666330 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 12:59:09 +00:00
akr 28e33ad61e rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 12:58:55 +00:00
akr 6ae8b15d93 * string.c (rb_str_dump): use MBCLEN_CHARFOUND_P properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 12:58:30 +00:00
akr c77f323088 * bootstraptest/runner.rb: refine success message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 12:57:17 +00:00
kazu 9a7834730d add Dir.home
update s of new method(s)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 10:47:25 +00:00
kazu c5229b7d84 fixed typos and remove some spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 10:45:10 +00:00
nobu 136f31b098 * Makefile.in (id.h): updates from parse.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 10:10:44 +00:00
usa fbea35aa47 * win32/mkexports.rb: shouldn't export DllMain.
reported at http://pc11.2ch.net/test/read.cgi/tech/1233686068/21



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 02:50:04 +00:00
matz 049d98c6ff * missing/vsnprintf.c (BSD_vfprintf): should support 't' format
modifier to handle PRIdPTRDIFF.  thanks for the info from
  Kazuhiro NISHIYAMA.  [ruby-core:21807]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 01:16:14 +00:00
akr 12a5cf8287 revert useless change part in the previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 16:40:42 +00:00
akr 20ac101dae * ext/socket/extconf.rb: fix struct in_pktinfo and struct in6_pktinfo
detection.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 16:29:23 +00:00
mame c07b4ef145 * test/etc/test_etc.rb(test_getpwnam, test_getgrgid, test_getgrnam):
support an envirionment that has duplicative entries.  a patch from
  Tomoyuki Chikanaga <chikanag at nippon-control-system.co.jp> in
  [ruby-dev:37882].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 15:39:44 +00:00
svn ee3c53a7a9 * 2009-02-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 15:21:46 +00:00
akr 9274fbfae9 * ext/socket/lib/socket.rb (Socket.tcp_server_sockets_port0): skip
socket creation error.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 15:21:42 +00:00
akr 5a56fc35ec don't connect to unspecified address.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 14:50:50 +00:00
nobu 813dad7afd * ruby.c (load_file_internal): resets EOF flag after parse.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 14:37:09 +00:00
nobu bca5029d8b * vm.c (vm_backtrace): always returns non-nil array if lev is
negative.  [ruby-core:21795]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 14:13:36 +00:00
kouji e2fc3f38af * NEWS: added comment for Readline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 12:28:07 +00:00
kouji d60cd5b379 * ext/readline/extconf.rb: checked rl_set_screen_size and
rl_get_screen_size.

* ext/readline/readline.c (readline_s_set_screen_size): added
  Readline.set_screen_size.

* ext/readline/readline.c (readline_s_get_screen_size): added
  Readline.get_screen_size.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 12:21:08 +00:00
kouji 4a2b6b2067 * ext/readline/readline.c: updated year of copyright.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 12:17:26 +00:00
kouji dbf657caad * ext/readline/readline.c (readline_s_set_completion_proc): set
default if proc is nil. fix #1095


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 12:15:20 +00:00
akr 8b729eed96 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 07:55:03 +00:00
kazu 2b692644d9 * NEWS: add Array#sort_by!.
* array.c (rb_ary_sort_by_bang): RDoc update.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 07:36:55 +00:00
kazu 22f6e2e771 fixed typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 07:30:52 +00:00
akr 24eafe8376 * ext/socket/lib/socket.rb (Socket.tcp_server_sockets_port0): new
private function for allocating same port both IPv4 and IPv6.
  (Socket.tcp_server_sockets): use tcp_server_sockets_port0 for port 0.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 07:25:57 +00:00
akr 260d0d0399 add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 06:37:06 +00:00
akr 4aec56ba71 add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 06:27:07 +00:00
akr 1643d1c28a add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 06:12:23 +00:00
matz 1c400db1d5 * re.c (match_array): replace match_check().
* re.c (match_values_at): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 05:20:27 +00:00
shugo 3f59f0e06c * lib/net/imap.rb: validate data before sending to a server.
[ruby-core:20320]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 05:14:26 +00:00
shugo bb9435a75c * lib/net/imap.rb (hmac_md5): should use String#ord to get ascii
code from the one-character string.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 03:12:30 +00:00