Commit graph

5108 commits

Author SHA1 Message Date
nobu
3d08cb2afd * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::options): use
Regexp conversion.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 02:19:44 +00:00
nobu
182ced3e15 * misc/ruby-mode.el (ruby-special-char-p, ruby-parse-partial): handle
operator symbols.  [ruby-talk:120177]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-15 02:51:10 +00:00
eban
2d50a48405 * 2004-11-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-14 16:06:42 +00:00
matz
fa52148571 * ext/gdbm/gdbm.c (fgdbm_store): StringValue() may alter string
pointer.  [ruby-dev:24783]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-14 16:01:45 +00:00
nobu
aee1d3d56c * lib/pp.rb (PP#object_address_group): remove odd number of 'f'
prefixed to negative address.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-14 04:27:39 +00:00
eban
4f7f6e7531 * 2004-11-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-14 04:24:31 +00:00
nahi
2c4189c705 Sun Nov 14 08:51:04 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* test/logger/test_logger.rb: Logger just expects
          Logger#datetime_format to be used for Time#strftime independently of
          locale. [ruby-dev:24828]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-13 23:53:46 +00:00
gotoyuzo
66d97eae55 backport from 1.9
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-13 14:07:13 +00:00
usa
d545321973 * 2004-11-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-12 06:06:40 +00:00
usa
54c24dfc99 * eval.c (ruby_options): now we cannot call rb_glob() before
ruby_init(), so call rb_w32_cmdvector() at ruby_options().

* win32.{c,h} (rb_w32_cmdvector): rename make_cmdvector() and
  export it.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-12 06:06:15 +00:00
nagai
2b2c7c36d1 * ext/tk/lib/tk/event.rb: remove $LOADED_FEATURES trick
* ext/tk/lib/tk.rb: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-12 05:09:37 +00:00
nobu
0996725681 * dir.c (rb_globi): also should call back via rb_glob_caller().
[ruby-dev:24775]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-11 08:36:20 +00:00
usa
66d927e308 * test/ruby/test_file.rb (test_truncate_wbuf): we want to test
only File#truncate, not behaviour of seek(2).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-11 07:52:25 +00:00
matz
98101c1f96 * dir.c (push_braces): was confusing VALUE and char*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-11 05:55:02 +00:00
eban
185d6e251a * 2004-11-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-11 01:38:51 +00:00
matz
075e78b39b * dir.c (rb_push_glob): Dir.glob should have call its block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-11 00:42:16 +00:00
nobu
a9eea1bc50 * error.c (syserr_initialize): use stringified object.
[ruby-dev:24768]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-10 16:53:26 +00:00
matz
520a5549f8 * lib/delegate.rb (SimpleDelegator::dup): wrong number of
arguments.

* lib/delegate.rb (DelegateClass::dup): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-10 13:52:08 +00:00
matz
c5789b5075 * dir.c (rb_glob2): do not allocate buffer from heap to avoid
memory leaks.  use string object for buffering instead.
  [ruby-dev:24738]

* dir.c (join_path): ditto.

* io.c (io_read): external input buffer may be modified even after
  rb_str_locktmp().  [ruby-dev:24735]

* dir.c (fnmatch): p or s may be NULL.  [ruby-dev:24749]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-10 07:17:53 +00:00
nobu
dd65b46d65 * README.EXT (Example): extconf.rb is indispensable now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-10 03:31:55 +00:00
usa
3ab761e3d3 * 2004-11-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-10 02:42:46 +00:00
nagai
6025fed91d * ext/tcltklib/tcltklib.c: fix SEGV when compiled with Tcl/Tk8.3.x or older
* ext/tk/lib/tkextlib/tile/style.rb: bug fix


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-09 18:35:52 +00:00
nobu
4f302c1558 * lib/optparse.rb (OptionParser::Officious): moved from DefaultList.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-09 05:27:58 +00:00
eban
b14c41b918 * 2004-11-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08 15:57:31 +00:00
eban
439c7d507c * regex.c (slow_match): avoid GCC 3.4.x warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08 15:57:07 +00:00
dave
443c67721f Change version numbering of RDoc and ri
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08 15:55:23 +00:00
seki
9be05801ea add DRb::ExtServManager#uri=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08 14:38:58 +00:00
dave
a7b4316a3a Fix bug where parent class wasn't being detected if the
child class was defined using the A::B notation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08 13:25:26 +00:00
eban
d452a0ce16 * 2004-11-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-07 15:19:36 +00:00
eban
53c201066c * configure.in: add setup for mignw32 cross compiling.
[ruby-talk:119413]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-07 15:16:27 +00:00
nagai
0be5de09a0 * ext/tk/lib/tk.rb: bind-event methods accept multi substitution arguments.
* ext/tk/lib/tk/canvas.rb: ditto.
* ext/tk/lib/tk/canvastag.rb: ditto.
* ext/tk/lib/tk/text.rb: ditto.
* ext/tk/lib/tk/texttag.rb: ditto.
* ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb: ditto.
* ext/tk/lib/tkextlib/tktable/tktable.rb: ditto.
* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-07 14:53:02 +00:00
gotoyuzo
d55f1f480a * lib/webrick/server.rb (WEBrick::HTTPServer#start): remove
:DoNotReverseLookup option. (Socket#do_not_reverse_lookup is a
  ruby 1.9 feature)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-06 06:13:59 +00:00
tadf
9f0643ed57 checks whether zone was given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-06 02:32:45 +00:00
matz
8afd99d671 * string.c (rb_str_locktmp): check STR_TMPLOCK flag before
locking.  [ruby-dev:24727]

* gc.c (gc_mark): stricter GC stack check.

* string.c (str_gsub): should have removed rb_str_unlocktmp(str).
  [ruby-dev:24708]

* string.c (str_gsub): string modify check no longer based on
  tmplock.  [ruby-dev:24706]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-05 16:01:53 +00:00
eban
ddc2b83b3b * 2004-11-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-05 13:34:26 +00:00
nagai
b4cb871d4a * ext/tk/lib/tk/scrollable.rb: divide Scrollable module into X_Scrollable
and Y_Scrollable
* ext/tk/lib/tk/entry.rb: include X_Scrollable instead of Scrollable
* ext/tk/lib/tk/autoload.rb: define autoload for X_Scrollable and Y_Scrollable


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-05 09:15:18 +00:00
nagai
1c222a16b5 * ext/tk/lib/tk.rb: TkComm._at() supprts both of "@x,y" and "@x"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-05 07:07:39 +00:00
nagai
dcbbe3f409 * ext/tk/lib/tk/text.rb: sorry. bug fix again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-05 04:24:03 +00:00
nagai
05e084d7dd * ext/tk/lib/tk/text.rb: bug fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-05 04:19:16 +00:00
usa
08feda316d * typo, too. orz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-04 10:32:09 +00:00
usa
33276f1e21 * io.c (rb_f_open): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-04 10:28:27 +00:00
nagai
9adcea7405 * ext/tk/lib/tk/variable.rb: forget to initialize instance_variables
of TkVarAccess objects


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-04 06:03:53 +00:00
eban
56a3ae9be0 * 2004-11-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-04 03:33:04 +00:00
matz
d55db6b999 * gc.c (gc_mark): enable GC stack checking.
* string.c (str_gsub): lock strings temporarily.  [ruby-dev:24687]

* ext/socket/socket.c (s_recvfrom): tmplock input buffer.
  [ruby-dev:24705]

* array.c (rb_ary_uniq_bang): do not push frozen string from hash
  table.  [ruby-dev:24695]

* array.c (rb_ary_and): ditto.

* array.c (rb_ary_or): ditto.

* ext/enumerator/enumerator.c (each_cons_i): pass copy of an
  internal consequent array.  [ruby-talk:118691]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-04 01:20:51 +00:00
naruse
5a571ee064 * process.c: On NetBSD don't use setruid() and setrgid().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-03 13:46:46 +00:00
naruse
028d19ef5c On NetBSD don't use setruid() and setrgid().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-03 13:32:12 +00:00
gotoyuzo
e9fb2e2731 * lib/webrick/httpauth/digestauth.rb: use Base64.encode64 to
avoid warnings. [webrickja:128]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-03 13:29:42 +00:00
nagai
ff861c0c7d * io.c (pipe_open): fix compile error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-03 08:14:25 +00:00
nagai
8ff005361a * ext/tk/lib/tk.rb: support to use different Tcl commands between
configure and configinfo
* ext/tk/lib/font.rb: ditto.
* ext/tk/lib/itemconfig.rb: support to use different Tcl commands
  between item_configure and item_configinfo
* ext/tk/lib/itemfont.rb: ditto.
* ext/tk/extconf.rb: install SUPPORT_STATUS
* ext/tk/lib/tkextlib: some bug fixes (see ext/tk/ChangeLog.tkextlib)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-03 08:09:55 +00:00
naruse
f772fd6665 * ext/nkf: follow nkf 2.0.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-03 07:48:08 +00:00