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

6064 Коммитов

Автор SHA1 Сообщение Дата
akr 9bdb4b4b08 * lib/resolv.rb (Resolv::DNS::Name#subdomain_of?): new method.
(Resolv::DNS::Name#inspect): ditto.
  Suggested by Sam Roberts.  [ruby-talk:129086]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-07 15:24:09 +00:00
akr b8f04a8bcb fix previous commit to check stdout is a tty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-07 14:40:22 +00:00
akr d486686eb7 * io.c (io_getc): flush rb_stdout before read fro stdin, which is
connected to a tty.  [ruby-core:4378]

* rubyio.h (FMODE_TTY): renamed from FMODE_LINEBUF.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-07 14:18:41 +00:00
ttate f605a6fcb7 minor bugfix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-07 12:13:46 +00:00
ttate 7bcc135504 Improved DL::Handle#sym.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-07 09:45:02 +00:00
eban 48a86f5ffa * dln.c: typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-07 04:00:58 +00:00
ttate dca41072d3 Added VC++ support thanks to U.Nakamura's patch. [ruby-dev:25644]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 18:07:10 +00:00
usa 1f0125e4aa * ext/socket/extconf.rb (sockaddr_storage): winsock2.h have the
definition of struct sockaddr_storage, but socket.c doesn't
  include it because this version of ruby still has binary level
  compatibility with winsock1.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 17:12:31 +00:00
nobu 765c659f75 * 2005-02-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 16:23:25 +00:00
nobu ef8f1ff3df * lib/mkmf.rb (with_cppflags, with_cflags, with_ldflags): keep flags
modified if the block returned true.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 16:23:03 +00:00
nobu 7a07ffe479 * ext/extmk.rb (extract_makefile): extract previously collected
informations from existing Makefile.

* ext/socket/extconf.rb: check if getaddrinfo() works fine only when
  wide-getaddrinfo option is not given.  fixed: [ruby-dev:25422]

* ext/tk/extconf.rb: separate tkutil configuration.

* lib/mkmf.rb ($extmk): check if under ext directory.

* lib/mkmf.rb (Logging.postpone): allow recursive operation.

* lib/mkmf.rb (try_constant): make sure if really a constant, reduce
  the number of times of compile.

* lib/mkmf.rb (have_macro, have_var, byte_order): new functions.

* lib/mkmf.rb (find_library): allow directory list with separators.

* lib/mkmf.rb (arg_config): manage provided configuration options.

* lib/mkmf.rb (dir_config): accept arrays of directory names as
  default values.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 14:51:44 +00:00
usa 983de47edc * eval.c (stack_extend): add prototype because VC++8 doesn't
accept __declspec(noinline) with K&R style function definitions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 10:21:48 +00:00
ttate 93711e5bd3 added DL::Importer.sizeof().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 06:54:12 +00:00
tadf b393a2bc5f synchronized with date2 3.6.3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 05:05:18 +00:00
akr a9639c22ef * ext/dl/dl.c (Init_dl): function declaration should precede
statements before C99.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-06 02:32:40 +00:00
usa c4e6638ce0 * 2005-02-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-05 20:22:43 +00:00
akr 8971dafa8d * lib/resolv.rb (Resolv::DNS::Resource::TXT): multiple strings was not
handled.
  (Resolv::DNS::Resource::TXT#strings): new method to return all
  strings.
  (Resolv::DNS::Message::MessageEncoder#put_string_list): new method.
  (Resolv::DNS::Message::MessageDecoder#get_string_list): ditto.
  based on [ruby-talk:129732] by Sam Roberts.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-05 18:31:20 +00:00
akr 7adb25643e comment refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-05 14:13:47 +00:00
ttate 06f0db50b2 replace CRLF with LF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-05 13:58:08 +00:00
eban 1731084302 * 2005-02-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-04 17:33:39 +00:00
aamine 828c5ec400 * test/ripper/test_scanner_events.rb: fix test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-04 17:25:09 +00:00
ttate 41cd3d868d added missing files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-04 14:01:22 +00:00
ttate bda37095ca added new files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-04 13:35:37 +00:00
ttate 4ae9132605 remove all files to replace ruby-dl with ruby-dl2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-04 13:29:49 +00:00
aamine 889ca023e3 * ext/ripper/lib/ripper/lexer.rb: last Lexer fix was incomplete; test all green.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-04 09:46:18 +00:00
aamine 6a24d7ed9b * ext/ripper/lib/ripper/filter.rb: ripper/tokenizer -> ripper/lexer. [ruby-dev:25632]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-04 05:33:53 +00:00
kou 73a9963ddf * lib/rss: supported Image module.
http://web.resource.org/rss/1.0/modules/image/


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-03 15:31:57 +00:00
eban 58d0a3de50 * 2005-02-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-03 15:29:49 +00:00
nobu 0a1cd99af2 * ext/stringio/stringio.c (strio_close, strio_close_read, strio_close_write):
should return nil instead of self as well as IO.  [ruby-dev:25623]

* ext/stringio/stringio.c (strio_extend, strio_putc): fill with zero
  extended portion.  [ruby-dev:25626]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-03 14:43:07 +00:00
ttate e849cce8a0 bugfix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-03 14:38:31 +00:00
usa f281abc9d1 * 2005-02-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-03 00:36:35 +00:00
naruse 0535b8dd08 * ext/nkf/nkf-utf8/nkf.c: follow original v 1.57
* ext/nkf/nkf-utf8/utf8tbl.c: follow original v 1.8
* ext/nkf/nkf-utf8/config.h: follow original v 1.7


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-02 18:39:44 +00:00
naruse 621f6c0b6f * follow original utf8tbl.c,v 1.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-02 18:36:51 +00:00
naruse c298b3fe14 * follow original config.h,v 1.7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-02 18:36:18 +00:00
naruse cf84cf931a * ext/nkf/nkf-utf8/nkf.c: follow nkf.c,v 1.57
support JISX0212
                          fixed: [Ruby-dev:25617]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-02 18:31:20 +00:00
nobu 729249159e * ext/stringio/stringio.c (strio_truncate): should MEMZERO an extended
part.  [ruby-dev:25618]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-02 14:53:36 +00:00
kou 9b6581dc47 * forgot to add lib/rss/trackback.rb entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-02 13:02:34 +00:00
kou bd4fd26fda * lib/rss/rss.rb (RSS::Element#convert): added.
* lib/rss/rss.rb: convert -> need_convert.
* lib/rss/1.0.rb: ditto.
* lib/rss/0.9.rb: ditto.
* lib/rss/2.0.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-02 13:00:31 +00:00
eban ab2b03033a * 2005-02-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-02 01:41:36 +00:00
aamine dee3740597 * ext/ripper/lib/ripper/tokenizer.rb -> lexer.rb.
* ext/ripper/lib/ripper/lexer.rb: new method Ripper.slice. [experimental]
* ext/ripper/lib/ripper/sexp.rb: new file. [experimental]
* ext/ripper/lib/ripper.rb: require ripper/lexer and ripper/sexp.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-01 18:32:40 +00:00
seki 2388b9c79b (DRb::DRbObject#respond_to?): check marshal_dump and _dump
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-01 12:57:03 +00:00
eban 81c44c9d3c * 2005-02-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-31 15:37:51 +00:00
nobu ac3499a0fa * configure.in (aix): fix linker flags on AIX. [ruby-talk:125460]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-31 15:20:59 +00:00
nobu 420a708098 * Makefile.in, configure.in: made EXTOUT configurable.
* ext/extmk.rb (extmake), lib/mkmf.rb: keep topdir as relative style.

* lib/mkmf.rb: make extensions in depth order.  [ruby-dev:25522]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-31 15:19:27 +00:00
usa a1f5d730fd * 2005-01-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-31 07:01:38 +00:00
nagai dbe83e69d8 * ext/tk/extconf.rb: add tkutil configuration step (remove old schema)
* ext/tk/depend: remove the information of tkutil
* ext/tk/make-tkutil: sub-part of Makefile to compile tkutil
* ext/tk/tkutil/tkutil.c: move tkutil.c to subdirectory
* ext/tk/tkutil/subconf.rb: configuration file for tkutil.c
* ext/tk/tkutil/depend: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-31 04:17:23 +00:00
nagai 75b202c933 * ext/tk/tcltklib.c: add invalid namespace check
* ext/tk/lib/multi-tk.rb: add invalid_namespace? method
* ext/tk/lib/remote-tk.rb: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-31 04:14:50 +00:00
akr 02d0c9e75c example modified a bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-29 05:22:35 +00:00
akr a0b39cf64f * lib/resolv.rb (Resolv::DNS::Resource::IN::SRV): Added RFC2782 SRV
resource record for specifying location of services.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-29 05:14:11 +00:00
eban 962af989ec * 2005-01-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-28 15:31:55 +00:00