1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

7586 commits

Author SHA1 Message Date
kosako
f69c1f18ee merge Oniguruma 4.0.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-23 12:08:08 +00:00
kosako
0fa1086760 add back reference by name in replace string
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-22 15:03:40 +00:00
kosako
a350e9c6e2 add String/Symbol argument to MatchData[x]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-21 13:16:21 +00:00
usa
1e608d0dff * 2006-03-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-20 02:16:55 +00:00
usa
5bc9512a0b * ext/win32ole/win32ole.c (folevariant_value): could not compile
with C90 compiler.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-20 02:14:24 +00:00
eban
b619a8859f * 2006-03-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-19 07:27:34 +00:00
suke
6c0256933b change behavior of converting OLE Variant object with VT_ARRAY|VT_UI1
and Ruby String object.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-19 00:56:59 +00:00
usa
597cfafb88 * lib/mkmf.rb (create_makefile): support libraries without *.so.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-15 07:55:10 +00:00
eban
f8dd2546be * 2006-03-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-15 07:44:17 +00:00
gotoyuzo
1b3ca9aa3a * ext/openssl/ossl_ssl.c, ext/openssl/ossl_nsspki.c: should use
"rb_str_new(0, 0)" to make empty string.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-15 07:42:00 +00:00
eban
9432599e6c * 2006-03-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-12 08:18:45 +00:00
suke
88ea87db21 * ext/win32ole/win32ole.c(ole_val2olevariantdata): support VT_VARIANT in
WIN32OLE_VARIANT.new().

* ext/win32ole/tests/testOLEVARIANT.rb: ditto.

* ext/win32ole/tests/testOLEPARAM.rb: test method name should not be
  duplicated.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-12 08:09:48 +00:00
eban
7e69ffb1b6 * 2006-03-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-05 09:44:37 +00:00
aamine
16b6d69f63 * lib/fileutils.rb: do not repeat command options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-05 09:41:33 +00:00
aamine
6307996966 * lib/net/http.rb (send_request_with_body): #content_type never return false, use #main_type instead. [ruby-core:07476]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-05 09:35:32 +00:00
eban
ec6122bc2a * 2006-03-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-04 06:43:26 +00:00
akr
5172b5a848 fix string interpolation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-04 06:39:25 +00:00
akr
989fb4fec7 * gc.c (id2ref): fix symbol test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-04 06:28:51 +00:00
akr
192fcacebf * lib/fileutils.rb (FileUtils.cp_r): implement :remove_destination
option.

* ext/extmk.rb: use :remove_destination to install extension libraries
  to avoid SEGV.
  [ruby-dev:28417]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-03 12:24:53 +00:00
aamine
469f1f7b49 * ext/dl/.cvsignore: ignore callback.h.
* ext/ripper/.cvsignore: ignore eventids2table.c.
* ext/socket/.cvsignore: ignore constants.h.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-03 05:41:53 +00:00
eban
7f435d3d02 * 2006-03-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-03 01:55:57 +00:00
akr
1d05d97c45 ML ref [ruby-core:7305]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-02 17:40:38 +00:00
ocean
6f09379196 * gc.c: commited magic for reducing RVALUE size on windows. (24->20byte)
[ruby-core:7474]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-02 09:01:51 +00:00
akr
ecebbcce1f * gc.c: align VALUE with sizeof(RVALUE) globally.
(is_pointer_to_heap): check alignment out of loop.
  (id2ref): avoid collision between symbols and objects.
  (rb_obj_id): ditto.  moved from object.c.
  [ruby-talk:178364] [ruby-core:7401]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-02 05:22:30 +00:00
eban
b6572b6873 * 2006-03-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-02 04:07:16 +00:00
ocean
be70a6ebec * win32/win32.c (filetime_to_unixtime): should set tm_isdst to -1.
stat() didn't treat daylight saving time property on WinNT.
  [ruby-talk:182100]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-02 04:01:31 +00:00
ocean
2b25baff72 * dir.c: supress warning "/* within comment"
* bignum.c, io.c, math.c, pack.c, time.c: ANSI styled.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-01 10:06:03 +00:00
eban
5ed418b594 * 2006-03-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-28 16:03:37 +00:00
ocean
0ecd958d97 * lib/rdoc/parsers/parse_rb.rb (read_escape): could not handle /\^/.
merged Mr. Ishizuka's lib/irb/ruby-lex.rb 's patch rev 1.29.
  [ruby-talk:181631] [ruby-dev:28404]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-28 15:21:24 +00:00
eban
e54adb7d1d * 2006-02-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-28 13:50:55 +00:00
keiju
64040f2daa * lib/irb/ruby-lex.rb: fixed that irb can't parse /\^/. [ruby-dev:28404] and http://rubyforge.org/tracker/index.php?func=detail&aid=3302&group_id=426&atid=1698
* lib/irb/ruby-lex.rb: support "\s" in irb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-28 13:47:48 +00:00
seki
a2bd4d594d quote pathnames in the server's command line for space contained
directory names. Thanks, arton. [ruby-dev:28386]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-24 11:23:25 +00:00
usa
6f43cc18a4 * instruby.rb: install *.exe.manifest and *.dll.manifest if exist.
It's for VC++8.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-24 03:12:27 +00:00
usa
20f3ea3f6c * win32/win32.c (NtInitialize): need to set a handler for VC++8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-24 02:19:44 +00:00
eban
a4e21b2cd6 * 2006-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-24 01:39:22 +00:00
ocean
4ce506cc08 no message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-23 14:59:15 +00:00
ocean
b122590f5a * bcc32/Makefile.sub: use borlndmm.dll if possible. bcc32's RTL internal
memory manager cannot handle large memory block properly.
  ex: 10000.times { "" << "." * 529671; GC.start } # crash
  [ruby-dev:28230]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-23 13:46:03 +00:00
eban
5373331d03 * 2006-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-23 04:27:26 +00:00
ocean
c8e364cc28 * eval.c (SETUP_ARGS0): fixed memory corruption. [ruby-dev:28360]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-23 04:24:39 +00:00
akr
cb8d34855e * lib/pathname.rb (Pathname#each_filename): use split_names properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-22 12:18:58 +00:00
usa
bea93efc42 * test/webrick/test_cgi.rb: should support platforms which search
library path from the interpreter's path.
  And, support test without install incidentally.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-22 07:27:20 +00:00
matz
145b7e1b8b * bignum.c (bignorm): x may not be a bignum. [ruby-dev:28367]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-22 05:26:33 +00:00
eban
3647fb485c * 2006-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-22 02:05:31 +00:00
matz
e94633b9b2 * eval.c (proc_alloc): add proper check for creation of a lambda
without a block.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-22 00:27:27 +00:00
akr
c270c82ebb comment ruby version more specific.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-21 10:24:18 +00:00
usa
00610f75f7 * 2006-02-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20 17:22:09 +00:00
matz
2507699bb8 * parse.y (f_arglist): should set command_start = Qtrue for
command body.  [ruby-talk:180648]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20 17:12:56 +00:00
akr
b3697c2dcb * mkconfig.rb: alias Config to RbConfig for compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20 13:33:20 +00:00
akr
2b2910c713 * io.c (rb_io_reopen): flush before reopening a file.
reported by Mathieu Bouchard.  [ruby-core:7396]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20 09:23:26 +00:00
akr
04946de81b * mkconfig.rb: generate RbConfig instead of Config.
* instruby.rb, rubytest.rb, runruby.rb, bcc32/Makefile.sub,
  ext/extmk.rb, ext/dl/extconf.rb, ext/iconv/charset_alias.rb,
  lib/mkmf.rb, lib/rdoc/ri/ri_paths.rb,
  lib/webrick/httpservlet/cgihandler.rb,
  test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb,
  test/ruby/envutil.rb, test/soap/calc/test_calc_cgi.rb,
  test/soap/header/test_authheader_cgi.rb, test/soap/ssl/test_ssl.rb,
  win32/mkexports.rb, win32/resource.rb: Use RbConfig instead of
  Config.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20 08:34:53 +00:00