nobu
35ec0ad3f3
* gc.c (stack_grow_direction): memoize the direction.
...
* gc.c (Init_stack): should always move to end of VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-16 07:01:32 +00:00
nagai
8335f42543
* ext/tk/lib/tk.rb: bug fix (TkWindow#grab)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-15 03:12:40 +00:00
eban
0311a8ab19
2004-06-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-14 13:39:22 +00:00
nagai
e961d30468
* ext/tk/lib/remote-tk.rb: bug fix
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-14 09:25:06 +00:00
eban
084a8c4ecd
2004-06-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-12 15:40:29 +00:00
nagai
cbf79b6469
* ext/tcltklib/extconf.rb: [EXPERIMENTAL] MacOS X (darwin) support
...
* ext/tcltklib/tcltklib.c: fix thread trouble on callback proc, and
eliminate warning about instance variable access
* ext/tk/lib/tk/menubar.rb: improve supported menu_spec
* ext/tk/lib/tk/menuspec.rb: [add] menu_spec support library
* ext/tk/lib/tk/root.rb: add menu_spec support
* ext/tk/lib/tk/text.rb: bug fix
* ext/tk/lib/tk/toplevel.rb: add menu_spec support
* ext/tk/sample/menubar?.rb: [add] sample of menu_spec usage
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-12 15:25:50 +00:00
(no author)
84bca111f8
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-12 15:25:50 +00:00
nagai
7050e0c745
* ext/tcltklib/extconf.rb: [EXPERIMENTAL] MacOS X (darwin) support
...
* ext/tcltklib/tcltklib.c: fix thread trouble on callback proc, and
eliminate warning about instance variable access
* ext/tk/lib/tk/menubar.rb: improve supported menu_spec
* ext/tk/lib/tk/menuspec.rb: [add] menu_spec support library
* ext/tk/lib/tk/root.rb: add menu_spec support
* ext/tk/lib/tk/text.rb: bug fix
* ext/tk/lib/tk/toplevel.rb: add menu_spec support
* ext/tk/sample/menubar?.rb: [add] sample of menu_spec usage
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-12 15:25:49 +00:00
eban
7d4fe15675
2004-06-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-12 02:45:56 +00:00
eban
d69369c634
* configure.in (target_os): strip -gnu suffix on Linux.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-12 02:34:36 +00:00
knu
0c025fdd82
* config.guess: Restore a wrongly removed hyphen.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-11 08:10:21 +00:00
eban
242e724110
2004-06-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-11 08:05:22 +00:00
knu
cfc534aab4
* config.guess: Attempt to avoid system name change on
...
Darwin platfowms also.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-11 05:30:49 +00:00
knu
e3fce4f124
* config.guess, config.sub: Attempt to avoid system name change on
...
Linux platforms. We have been using "linux" instead of
"linux-gnu" on this branch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-11 05:29:02 +00:00
eban
7c5ea71b12
2004-06-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-10 13:48:46 +00:00
matz
238f78f0b1
* ext/sdbm/init.c (fsdbm_store): sdbm should use StringValue().
...
[ruby-talk:103062]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-10 13:39:52 +00:00
akira
fa1261e093
* lib/uri/generic.rb (URI::Generic::merge,
...
URI::Generic::route_from): accepts non-hierarchical URI.
[ruby-dev:23631]
* test/uri/test_generic.rb (TestGeneric::test_route,
TestGeneric::test_merge): added tests for above changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-09 09:05:41 +00:00
knu
4d3805905a
2004-06-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-09 08:42:06 +00:00
knu
1fddfcfb48
* config.guess, config.sub: Update to a more recent version as of
...
2004-01-20.
* configure.in: Add support for DragonFly BSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-09 08:40:55 +00:00
eban
1d664c874f
2004-06-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-06 08:53:56 +00:00
matz
0ed9758454
* eval.c (rb_eval): bad influence on frame node.
...
* eval.c (eval): reverted wrongly removed condition. [ruby-dev:23638]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-06 08:43:56 +00:00
matz
44e45bf1dc
* string.c (str_new4): should share shared instance if it already
...
exists. [ruby-dev:23665]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-05 02:33:01 +00:00
eban
fcb315d1a2
2004-06-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-04 12:56:21 +00:00
matz
79c7044582
* io.c (rb_io_gets_m): set lastline ($_) even when read line is
...
nil. [ruby-dev:23663]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-04 09:56:25 +00:00
nahi
1c9d6dd646
* lib/logger.rb: leading 0 padding of timestamp usec part.
...
* lib/csv.rb (CSV.parse): [CAUTION] behavior changed. in the past,
CSV.parse accepts a filename to be read-opened (it was just a
shortcut of CSV.open(filename, 'r')). now CSV.parse accepts a
string or a stream to be parsed e.g.
CSV.parse("1,2\n3,r") #=> [['1', '2'], ['3', '4']]
* lib/csv.rb: CSV::Row and CSV::Cell are deprecated. these classes
are removed in the future. in the new csv.rb, row is represented
as just an Array. since CSV::Row was a subclass of Array, it won't
hurt almost all programs except one which depended CSV::Row#match.
and a cell is represented as just a String or nil(NULL). this
change will cause widespread destruction.
CSV.open("foo.csv", "r") do |row|
row.each do |cell|
if cell.is_null # using Cell#is_null
p "(NULL)"
else
p cell.data # using Cell#data
end
end
end
must be just;
CSV.open("foo.csv", "r") do |row|
row.each do |cell|
if cell.nil?
p "(NULL)"
else
p cell
end
end
end
* lib/csv.rb: [CAUTION] record separator(CR, LF, CR+LF) behavior
change. CSV.open, CSV.parse, and CSV,generate now do not force
opened file binmode. formerly it set binmode explicitly.
with CSV.open, binmode of opened file depends the given mode
parameter "r", "w", "rb", and "wb". CSV.parse and CSV.generate open
file with "r" and "w".
setting mode properly is user's responsibility now.
* lib/csv.rb: accepts String as a fs (field separator/column separator)
and rs (record separator/row separator)
* lib/csv.rb (CSV.read, CSV.readlines): added. works as IO.read and
IO.readlines in CSV format.
* lib/csv.rb: added CSV.foreach(path, rs = nil, &block). CSV.foreach
now does not handle "| cmd" as a path different from IO.foreach.
needed?
* test/csv/test_csv.rb: updated.
* test/ruby/test_float.rb: added test_strtod to test Float("0").
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-27 14:39:11 +00:00
akr
2546a366ed
* lib/pathname.rb (Pathname#initialize): fix pathname initialization
...
by pathname.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-27 12:41:10 +00:00
ocean
8b33b47ea0
* io.c (rb_io_fwrite): check all case errno != 0 [ruby-dev:23648]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-27 11:22:30 +00:00
matz
f4c7c5dc07
* marshal.c (w_class): should not dump singleton class.
...
[ruby-dev:22631]
* marshal.c (class2path): check anonymous class/module before
checking referable, and allow singleton classes.
* marshal.c (class2path): get class path and check referable.
[ruby-dev:22588]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-27 07:50:04 +00:00
eban
588394468c
2004-05-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-27 06:34:19 +00:00
eban
9f847daa15
* io.c (rb_io_fwrite): workaround for bcc32's fwrite bug.
...
add errno checking. [ruby-dev:23627]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-27 06:34:11 +00:00
nobu
40289c4de0
* eval.c (rb_eval, eval): make line number consistent on eval with
...
Proc. [ruby-talk:101253]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-26 05:19:50 +00:00
eban
1a49a20140
2004-05-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-26 05:12:32 +00:00
dave
ea63eef678
Allow "do" after "for". Fix up css for standalone code window
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-26 05:02:55 +00:00
nobu
ad4d4e3edd
* io.c (rb_io_init_copy): copy also positions. [ruby-talk:100910]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-26 04:15:02 +00:00
why
439975d896
* ext/syck/syck.c (syck_new_parser): clear parser on init.
...
thanks, ts. [ruby-core:02931]
* ext/syck/token.c (sycklex_yaml_utf8): buffer underflow.
thanks, ts. [ruby-core:02929]
* lib/yaml/baseemitter.rb (indent_text): simpler flow block code.
* lib/yaml.rb: added rdoc to beginning of lib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-25 15:04:16 +00:00
akr
adc10cab51
test Kernel.open accepts pathname object.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-24 11:56:50 +00:00
eban
21e891efe1
2004-05-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-24 08:39:57 +00:00
nagai
f6c36d95d1
* ext/tcltklib/extconf.rb: add --enable-tcl-thread configure option and
...
--with-tclConfig-file=<path of tclConfig.sh> configure option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-24 08:33:45 +00:00
dave
b6a561ccc0
SYSTEM identifiers must be absolute
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-24 01:48:37 +00:00
eban
1a4bbd32af
2004-05-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-22 07:42:27 +00:00
nagai
5650420326
* ext/tk/sample/remote-ip_sample2.rb: modify
...
* ext/tk/MANIFEST: add entries
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-22 05:23:22 +00:00
nobu
f627c746d8
* MANIFEST: add new encodings in rexml.
...
* ext/tk/MANIFEST: add recent files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-22 03:00:11 +00:00
nagai
dee9a86a2f
* add a new sample 'ext/tk/sample/remote-ikp_sample2.rb'
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-22 02:24:00 +00:00
(no author)
76a47d4295
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-22 02:24:00 +00:00
nagai
5fa54c9a83
* add a new sample 'ext/tk/sample/remote-ikp_sample2.rb'
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-22 02:23:59 +00:00
nagai
ea710f0dca
* ext/tk/lib/tk.rb: add Tk.appsend_deny and improve Tk.rb_appsend
...
* ext/tk/lib/tk.rb, ext/tk/lib/tk/*.rb : replace obj.send() -> obj.__send__()
* ext/tk/lib/remote-tk.rb: add a new library which create an object to
control a Tk interpreter on the other process
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-21 20:45:27 +00:00
gotoyuzo
dfdffdd9a3
* test_x509crl.rb (test_basic): add test for CRL issuer.
...
* test_x509store.rb: test for OpenSSL::X509::Store
* utils.rb (issue_crl): should set issuer's subject.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-21 18:25:26 +00:00
(no author)
048163f622
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-21 18:25:26 +00:00
gotoyuzo
f9eebc635c
* test_x509crl.rb (test_basic): add test for CRL issuer.
...
* test_x509store.rb: test for OpenSSL::X509::Store
* utils.rb (issue_crl): should set issuer's subject.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-21 18:25:25 +00:00
eban
cfc7ea514c
2004-05-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-21 06:07:08 +00:00