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

5662 Коммитов

Автор SHA1 Сообщение Дата
ksaito 5fb312bd18 * regexec.c, test/ruby/test_regexp.rb: fixed segmentation falut ([ruby-dev:24887]).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 03:07:48 +00:00
ksaito 7eac88ecd5 * regcomp.c, regint.h: fixed PLATFORM_UNALIGNED_WORD_ACCESS problem ([ruby-dev:24802] and [ruby-core:3733])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 03:06:39 +00:00
akr 39eac7ded8 io.c (rb_io_fwrite): set path to NULL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 14:08:45 +00:00
akr 5eec9fe63c String::IO -> StringIO
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 13:33:34 +00:00
akr 0abc28742a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 13:08:11 +00:00
akr b70e88a123 * io.c: avoid avoid data loss with nonblocking fd and
stdio buffering in sync mode.  [ruby-dev:24966]
  based on matz's patch [ruby-dev:24967]
  (io_fwrite): new primitive writing function which writes
  directly if sync mode.
  (rb_io_fwrite): wrapper for io_fwrite now.
  (io_write): call io_fwrite instead of rb_io_fwrite.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 13:05:46 +00:00
kou 2572d5e20e * lib/rss/{0.9,1.0,2.0,trackback,xml-stylesheet}.rb: added
#setup_maker.
* test/rss/test_setup_maker_*.rb: added tests for #setup_maker.
* lib/rss/maker/base.rb(RSS::Maker::Items#max_size=): supported
  output item size limitation.
* sample/rss/blend.rb: added sample for RSS Maker.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 08:47:28 +00:00
kou 0a93165e16 * lib/rss/maker/0.9.rb: supported RSS::Maker.make("0.91"). Now,
"0.9" is just alias of "0.91."
* test/rss/test_maker_0.9.rb: make("0.9") -> maker("0.91").
* test/rss/test_to_s.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 08:43:18 +00:00
kou b325d73c13 * sample/rss/list_description.rb: untabified.
* sample/rss/rss_recent.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 08:41:32 +00:00
eban 5e5fe659fa * 2004-11-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 02:25:54 +00:00
matz 65445b53ca * io.c (io_fread): [ruby-dev:24964]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 02:21:53 +00:00
nagai 27c24b0f3b * ext/tk/lib/tk.rb: Tk.destroy uses TkWindow#epath
* ext/tk/lib/tk/image.rb: bug fix
* ext/tk/lib/tk/wm.rb: add 'iconphoto' method(Windows only)
* ext/tk/lib/tkextlib/*: some methods uses TkWindow#epath


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26 09:07:25 +00:00
matz 6d0f22ebc6 * io.c (rb_io_initialize): [ruby-dev:24963]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26 06:27:45 +00:00
matz c97c359053 * io.c (rb_io_initialize): [ruby-dev:24962]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26 05:30:45 +00:00
matz 9e5c4cde2f * io.c (rb_io_initialize): should retrieve flags from copying file
descriptor. [ruby-dev:24961]

* eval.c (method_missing): raise TypeError for classes do not
  have allocators.  [ruby-core:03752]

* lib/erb.rb: [ruby-core:03786]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26 04:50:36 +00:00
dave a052ef75ab Fix problem with :section: and new 1.9
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26 04:32:11 +00:00
eban dbb9181a8c * lib/erb.rb: CR striped.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 16:04:00 +00:00
eban 41cb9a59f5 * 2004-11-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 15:59:14 +00:00
matz 84bd21465e * io.c (io_read): move StringValue() check before GetOpenFile().
[ruby-dev:24959]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 15:23:19 +00:00
nobu 0247fbae3d * lib/thwait.rb (ThreadsWait#join_nowait): abnormally terminated
threads should be also processed.  [ruby-talk:121320]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 11:15:33 +00:00
akr 3e37ee5af1 add ML ref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 09:11:48 +00:00
akr db306518e4 * configure.in: AC_CHECK_SIZEOF(rlim_t) to include stdio.h to fix
problem with autoconf 2.52 or earlier.
  revert AC_PREREQ to 2.50.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 09:09:26 +00:00
ttate f7884c6beb bugfix for [ruby-talk:121309].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 08:39:31 +00:00
ttate f7a5ee56d7 Use 'P' instead of 'p' in types.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 08:15:29 +00:00
nobu 058c1d1620 descriptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 02:24:02 +00:00
matz 51c48c29d8 * configure.in: AC_PREREQ(2.53) [ruby-core:03800]
* io.c (read_all): [ruby-dev:24955]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 01:58:31 +00:00
usa 624f62c515 * ChangeLog: add ML reference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 01:46:00 +00:00
usa 5632cf0d19 * 2004-11-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 01:19:24 +00:00
ttate 733a3adc79 improved encode_type() in types.rb for [ruby-talk:121175].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-24 16:38:38 +00:00
matz 0f2fdc6978 * io.c (io_read): [ruby-dev:24952]
* configure.in, io.c: cancel [ ruby-Patches-1074 ].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-23 17:37:51 +00:00
eban 140a9e7be3 * 2004-11-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-23 16:49:53 +00:00
matz e66752a0ed * io.c (io_read): [ruby-dev:24952]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-23 16:04:16 +00:00
nagai d852a4e317 * ext/tk/lib/tk/menu.rb: improve usability of TkOptionMenubutton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22 23:12:37 +00:00
matz 941d135904 * file.c (rb_file_chown): [ruby-dev:24949]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22 17:02:45 +00:00
usa df32fdebd7 * ext/ripper/lib/ripper/core.rb: commit miss. sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22 15:40:01 +00:00
usa 041ede07f5 * 2004-11-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22 15:37:28 +00:00
matz f50136a311 * file.c (rb_file_chown): integer conversion should be prior to
GetOpenFile().  [ruby-dev:24947]

* file.c (rb_file_truncate): ditto.

* file.c (rb_file_s_truncate): ditto.

* dir.c (dir_seek): use NUM2OFFT().

* misc/ruby-mode.el (ruby-non-block-do-re): [ruby-core:03719]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22 15:26:02 +00:00
dave d9d5c88cf3 Don't include 'require's with variable arguments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22 13:37:39 +00:00
eban f1f0ca312f * 2004-11-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-21 15:38:05 +00:00
matz fec64f7fe2 * dir.c (dir_seek): should retrieve dir_data after NUM2INT().
[ruby-dev:24941]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-21 15:33:56 +00:00
aamine 5809c72125 add ChangeLog for last commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 17:33:18 +00:00
aamine 72a6f92f4e * test/ruby/test_io.rb (test_gets_rs): add more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 17:29:18 +00:00
matz 688c69b1f7 * string.c (rb_str_splice): should place index wrapping after
possible modification.  [ruby-dev:24940]

* eval.c (error_print): nicer traceback at interrupt.
  [ruby-core:03774]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 15:18:35 +00:00
eban fc4a280c75 * 2004-11-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 15:05:19 +00:00
dave a80ba17d67 1. Force --inline-source if --one-file given
2. Add new :section: directive which starts a new section in the output.
   The title following :section: is used as the section heading, and the
   remainder of the comment containing the section is used as
   introductory text. Subsequent methods, aliases, attributes,
   and classes will be documented in this section.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 15:02:57 +00:00
aamine aafc487d6a * io.c (rb_io_getline): f.gets("") did not work. [ruby-core:03771]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 14:26:23 +00:00
eban a0b500ac08 * test/runner.rb (CROSS_COMPILING): need to require rbconfig.rb before
using CROSS_COMPILNG.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 13:58:20 +00:00
aamine 919992f5b8 * ext/ripper/.cvsignore: add entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 13:23:57 +00:00
eban e62aac9424 * io.c (__fpending): commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 12:18:16 +00:00
aamine 9ad74dd377 * ext/ripper/depend: fix ripper.o dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 11:44:02 +00:00