2004-05-28
3 lines of code changed in:
* eval.c (rb_eval): bad influence on frame node.
* eval.c (eval): reverted wrongly removed condition. [ruby-dev:23638]
8 lines of code changed in:
* lib/pathname.rb (Pathname#initialize): fix pathname initialization
by pathname.
14 lines of code changed in:
* io.c (rb_io_fwrite): check all case errno != 0 [ruby-dev:23648]
6 lines of code changed in:
* lib/pstore.rb (transaction): allow overriding dump and load.
[ruby-dev:23567]
* lib/yaml/store.rb: follow lib/pstore.rb's change.
50 lines of code changed in:
* lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.
Thanks, Rutger Nijlunsing.
6 lines of code changed in:
* io.c (rb_io_fwrite): should check if errnro == ENOENT, too.
4 lines of code changed in:
* io.c (rb_io_fwrite): workaround for bcc32's fwrite bug.
add errno checking. [ruby-dev:23627]
11 lines of code changed in:
2004-05-27
3 lines of code changed in:
* test/csv/test_csv.rb: illegal require module name (../lib/csv.rb).
5 lines of code changed in:
* add test for OpenSSL::SSL.
264 lines of code changed in:
* ext/openssl/ossl_ssl.c (ossl_ssl_read): take optional second argument
to specify a string to be written.
* ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#read):
take optional second argument to specify a string to be written.
* ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#gets):
refine regexp for end-of-line.
* ext/opnessl/lib/openssl/ssl.rb
(OpenSSL::SSL::SocketForwarder#listen): fix typo.
19 lines of code changed in:
* lib/csv.rb (CSV.read, CSV.readlines): added. works as IO.read and
IO.readlines in CSV format.
* 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']]
* test/csv/test_csv.rb: follow above changes.
144 lines of code changed in:
* eval.c (rb_eval, eval): make line number consistent on eval with
Proc. [ruby-talk:101253]
10 lines of code changed in:
2004-05-26
3 lines of code changed in:
Allow "do" after "for". Fix up css for standalone code window
34 lines of code changed in:
* io.c (rb_io_init_copy): copy also positions. [ruby-talk:100910]
6 lines of code changed in:
fix ML reference.
1 lines of code changed in:
* 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.
24 lines of code changed in:
* eval.c (rb_yield_0, proc_invoke, proc_arity): allow passing a block
to a Proc. [ruby-dev:23533]
* parse.y (block_par, block_var): ditto.
186 lines of code changed in:
2004-05-25
3 lines of code changed in:
* test/openssl/test_x509name.rb: short names of some OIDs (serialNumber
and emailAddress) are mismatched between OpenSSL 0.9.6 and 0.9.7.
* test/openssl/test_x509store.rb: get rid of unused flag.
25 lines of code changed in:
* ext/openssl/ossl_asn1.c (ossl_i2d_ASN1_TYPE, ossl_ASN1_TYPE_free):
workaround for the versions earlier than OpenSSL-0.9.7.
37 lines of code changed in:
test Kernel.open accepts pathname object.
12 lines of code changed in:
2004-05-24
3 lines of code changed in:
* ext/tcltklib/extconf.rb: add --enable-tcl-thread configure option and
--with-tclConfig-file=<path of tclConfig.sh> configure option
144 lines of code changed in:
SYSTEM identifiers must be absolute
8 lines of code changed in:
2004-05-23
3 lines of code changed in:
Merged Nakada-san's patch [ruby-core:02916].
70 lines of code changed in:
2004-05-22
3 lines of code changed in:
* ext/tk/sample/remote-ip_sample2.rb: modify
10 lines of code changed in:
* MANIFEST: add test/openssl/test_x509store.rb.
* ext/tk/MANIFEST: add recent files.
12 lines of code changed in:
* add a new sample 'ext/tk/sample/remote-ikp_sample2.rb'
54 lines of code changed in:
* 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
562 lines of code changed in:
* 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.
145 lines of code changed in:
MANIFEST: removed trailing white spaces.
1 lines of code changed in:
Add '()' around parameters that don't have them
6 lines of code changed in:
* lib/csv.rb: fixed a few bugs around multi char record/field separator.
* test/csv/test_csv.rb: added boundary test for above feature.
251 lines of code changed in:
* lib/mkmf.rb (check_sizeof): define result size. [ruby-core:02911]
* lib/mkmf.rb (create_header): macro name should not include equal
sign.
10 lines of code changed in:
* ext/socket/socket.c: check SCM_RIGHTS macro addition to
the msg_control field to test existence of file descriptor passing
by msg_control.
27 lines of code changed in:
* ext/socket/socket.c (make_hostent_internal): remove debug print.
0 lines of code changed in:
* numeric.c (flo_eq): alway check if operands are NaN.
[ruby-list:39685]
* lib/cgi/session.rb: use LOCK_SH to read, and a few other
improvements. [ruby-core:02328]
44 lines of code changed in:
2004-05-20
3 lines of code changed in:
At Ryan Davis' suggestion, honor visibility modifers if guarded by a statement modifier
13 lines of code changed in:
* lib/mkmf.rb (have_type): do not check pointer to incomplete type,
which always get compiled.
[ruby-list:39683]
8 lines of code changed in:
* rescue LoadError. [ruby-dev:23539]
35 lines of code changed in:
* test/ruby/envutil.rb (EnvUtil::rubybin): give priority to
environment variable. [ruby-dev:23538]
7 lines of code changed in:
revert mis-edited entry
5 lines of code changed in:
* test/inlinetest.rb (InlineTest::loadtest): requiring library with
replaced $0 can make $0 == __FILE__ block be evaluated twice.
[ruby-dev:23538]
15 lines of code changed in:
2004-05-19
3 lines of code changed in:
* ext/tk/lib/tk.rb: change permition of TkObject#tk_send from private to public
6 lines of code changed in:
* lib/net/http.rb: support TRACE.
16 lines of code changed in:
* lib/net/http.rb: do not use class variables.
9 lines of code changed in:
* lib/csv.rb: writes lines with "\n" when row separator is not given.
formerly it was "\r\n".
* lib/csv.rb: [CAUTION] API change
* CSV::Row removed. a 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.
* CSV::Cell removed. 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 # Cell#is_null
p "(NULL)"
else
p cell.data # 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: 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.
463 lines of code changed in:
* lib/yaml.rb: added rdoc to beginning of lib.
58 lines of code changed in:
* lib/yaml.rb: added rdoc to beginning of lib.
125 lines of code changed in:
* node.h (NEW_DSTR): adjust list length.
* parse.y (literal_concat): ditto.
8 lines of code changed in:
2004-05-18
3 lines of code changed in:
* eval.c (rb_method_node): search cache entry first.
10 lines of code changed in:
* test for OpenSSL::X509
804 lines of code changed in:
Add ruby-dev number to ChangeLog
2 lines of code changed in:
parse.y: typo fix(tWORD_BEG -> tWORDS_BEG).
1 lines of code changed in:
* ext/socket/socket.c (setup_domain_and_type): honor duck typing.
[ruby-dev:23522]
* ext/socket/socket.c (sock_s_getnameinfo): ditto.
26 lines of code changed in:
* numeric.c (flo_to_s): p 0.0 should be '0.0' not '0.0e+00'.
* numeric.c (flo_to_s): the number of significand is correctly handled,
there is assumption that DBL_DIG == 15 though.
(p 0.00000000000000000001 was '9.999999999999999e-21', now is
'1.0e-20')
19 lines of code changed in:
* add a new sample script
406 lines of code changed in:
Cross-ported fix for REXML bug #14, StreamParser and doctype events.
7 lines of code changed in:
------------------------------------------------------------------------
6 lines of code changed in:
------------------------------------------------------------------------
19 lines of code changed in:
* lib/yaml/baseemitter.rb (indent_text): was forcing a mod value
of zero at times, which kept some blocks from getting indentation.
120 lines of code changed in:
2004-05-17
3 lines of code changed in:
Forgot to update the manifest with the new files :-/
2 lines of code changed in:
Added support for CP-1252 and ISO-8859-15 encodings for non-iconv systems.
167 lines of code changed in:
------------------------------------------------------------------------
923 lines of code changed in:
* lib/drb/drb.rb: Cosmetic documentation changes.
11 lines of code changed in:
* ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument to
specify an open flag.
(Init_dbm): define open flags: DBM::READER, DBM::WRITER, DBM::WRCREAT
and DBM::NEWDB.
74 lines of code changed in:
* test/ruby/test_float.rb(test_strtod): Add test for signed 0.000...1
8 lines of code changed in:
* ext/syck/depend: commit miss.
1 lines of code changed in:
* ext/syck/depend: add ruby's headers.
16 lines of code changed in:
* ext/syck/MANIFEST, ext/syck/depend: new file.
* lib/yaml/rubytypes.rb: range of exponential floats. [ruby-core:02824]
* test/yaml/test_yaml.rb: tests for strings start with colon and some
round trip.
47 lines of code changed in:
2004-05-15
3 lines of code changed in:
* lib/yaml.rb: removed fallback to pure Ruby parser.
* lib/yaml/baseemitter.rb (node_text): rewriting folded scalars.
* ext/syck/syck.h: reports style of scalars now, be they plain, block
single-, or double-quoted.
* ext/syck/syck.c: ditto.
* ext/syck/gram.c: ditto.
* ext/syck/node.c: ditto.
* ext/syck/token.c: ditto.
* ext/syck/rubyext.c (yaml_org_handler): symbols loaded only
if scalar style is plain.
* test/yaml/test_yaml.rb (test_perl_regexp): updated test to
match new regexp serialization.
362 lines of code changed in:
* eval.c (eval): forgot to restore $SAFE value before evaluating
compiled node. [ruby-core:02872]
6 lines of code changed in:
* range.c (range_each_func): terminates loop if generating value
is same to @end. [ruby-talk:100269]
* string.c (rb_str_new4): should not reuse frozen shared string if
the original is not an instance of String. [ruby-talk:100193]
* time.c (time_mdump): preserve GMT bit in the marshal data.
[ruby-talk:100213]
* eval.c (is_defined): do not protect exception during receiver
evaluation.
54 lines of code changed in:
ChangeLog: typo fix.
2 lines of code changed in:
* ext/tk/lib/tk/canvas.rb: improve coords support for canvas items.
Now, supports all of the followings.
TkcLine.new(c, 0, 0, 100, 100, :fill=>'red')
TkcLine.new(c, [0, 0, 100, 100], :fill=>'red')
TkcLine.new(c, [0, 0], [100, 100], :fill=>'red')
TkcLine.new(c, [[0, 0], [100, 100]], :fill=>'red')
TkcLine.new(c, :coords=>[0, 0, 100, 100], :fill=>'red')
TkcLine.new(c, :coords=>[[0, 0], [100, 100]], :fill=>'red')
99 lines of code changed in:
* test/ruby/test_float.rb: Add test for util.c revision 1.42.
6 lines of code changed in:
2004-05-14
3 lines of code changed in:
* util.c (ruby_strtod): strtod("0", &end); => end should point '\0'.
[ruby-dev:23498]
11 lines of code changed in:
* lib/net/telnet.rb (Net::Telnet::login): "options" can specify
regexps for login prompt and/or password prompt.
13 lines of code changed in:
* ext/syck/rubyext.c (yaml_org_handler): some empty strings were
loaded as symbols.
6 lines of code changed in:
2004-05-13
3 lines of code changed in:
* pack.c (pack_pack): always add with null for 'Z'.
* pack.c (pack_unpack): terminated by null for 'Z'. [ruby-talk:98281]
19 lines of code changed in:
* lib/mkmf.rb (have_type, check_sizeof): replace unusable characters.
[ruby-talk:99788]
10 lines of code changed in:
* lib/resolv.rb (Resolv::DNS::Config): make it configurable without
external file such as /etc/resolv.conf.
97 lines of code changed in:
* ext/openssl/ossl_x509name.c: attribute value of DC (short name of
domainComponent) should be IA5String.
6 lines of code changed in:
* ext/tk/lib/tk/composite.rb: improve configure methods. (based on the proposal of [ruby-talk:99671])
308 lines of code changed in:
2004-05-12
3 lines of code changed in:
fix rdoc
6 lines of code changed in:
Fix for 'incomplete bug fix' for 1.41.
1 lines of code changed in:
* lib/net/protocol.rb (each_crlf_line): remove junk line.
4 lines of code changed in:
Change symbol lookup scheme in HTML generation
17 lines of code changed in:
* eval.c (eval): warning during eval should not cause deadlock.
[ruby-talk:98651]
* eval.c (rb_eval): raise TypeError exception for superclass
mismatch. [ruby-dev:39567]
16 lines of code changed in:
2004-05-10
3 lines of code changed in:
Search parent for unqualified constants
13 lines of code changed in:
* lib/net/pop.rb (loggin): append "\n".
9 lines of code changed in:
* lib/net/ftp.rb: ported documentation improvement from 1.8 branch
* lib/net/imap.rb: ditto
* lib/net/pop.rb: ditto
* lib/net/smtp.rb: ditto
* lib/net/telnet.rb: ditto
520 lines of code changed in:
* test/ruby/test_float.rb: added test_strtod to test Float("0").
16 lines of code changed in:
* lib/yaml/store.rb: use FileUtils::copy.
6 lines of code changed in:
2004-05-09
3 lines of code changed in:
MANIFEST: remove regex.c.
0 lines of code changed in:
* regex.c : removed unused file.
4 lines of code changed in:
* io.c (rb_f_open): open should not ignore block when "to_open"
method is used. [ruby-dev:23478]
* ext/dbm/dbm.c (fdbm_modify): typo fixed. [ruby-dev:23473]
17 lines of code changed in:
2004-05-08
3 lines of code changed in:
* win32ole.c: add RDoc style comment.
183 lines of code changed in:
add a test for Kernel.open(Pathname.new(...)) { ... }.
4 lines of code changed in:
* lib/fileutils.rb (mv): new option `force'. [ruby-talk:99457]
* lib/fileutils.rb: new method for command option reflection: FileUtils.commands, .options, .have_option?, .options_of, .collect_methods.
* lib/fileutils.rb: module Verbose, NoWrite, DryRun do not have option flags @fileutils_verbose and @fileutils_noop, they make no sense.
111 lines of code changed in:
Allow multiple arguments to include
13 lines of code changed in:
* lib/fileutils.rb (fu_list): Array() breaks pathes including "\n". [ruby-core:02843]
* test/fileutils/test_fileutils.rb (mkdir): test "\n" in path.
26 lines of code changed in:
2004-05-07
3 lines of code changed in:
add freeze test for dbm and gdbm.
40 lines of code changed in:
* parse.y (string_content): turn off NODE_NEWLINE flag to avoid
unnecessary line trace for inlined expression.
(ruby-bugs PR#1320)
* numeric.c (flo_to_s): tweak output string based to preserve
decimal point and to remove trailing zeros. [ruby-talk:97891]
* string.c (rb_str_index_m): use unsigned comparison for T_FIXNUM
search. [ruby-talk:97342]
* hash.c (rb_hash_equal): returns true if two hashes have same set
of key-value set. [ruby-talk:97559]
* hash.c (rb_hash_eql): returns true if two hashes are equal and
have same default values.
* string.c (rb_str_equal): always returns true or false, never
returns nil. [ruby-dev:23404]
270 lines of code changed in:
* util.c (ruby_strtod): 0.0000000000000000001 == 0.0 should be false.
[ruby-talk:99318] [ruby-dev:23465]
26 lines of code changed in:
use numerichost if cannot resolve hostname
10 lines of code changed in:
* ext/tk/tkutil.c (get_eval_string_core): bug fix. [ruby-dev:23466]
5 lines of code changed in:
2004-05-06
3 lines of code changed in:
MANIFEST: add lib/xmlrpc/README.txt.
1 lines of code changed in:
* lib/yaml/rubytypes.rb (to_yaml): added instance variable handling
for Ranges, Strings, Structs, Regexps.
* lib/yaml/rubytypes.rb (to_yaml_fold): new method for setting a
String's flow style.
* lib/yaml.rb (YAML::object_maker): now uses Object.allocate.
* ext/syck/gram.c: fixed transfer methods on structs, broke it
last commit.
456 lines of code changed in:
* dir.c (rb_push_glob): simplified code (not change behavior)
10 lines of code changed in:
* ext/extmk.rb: get rid of side effect of Config.expand, patched by
<tttt01@infoseek.jp> (ruby-bugs:PR#597)
7 lines of code changed in:
* lib/net/imap.rb (string): accept NIL.
* lib/net/imap.rb (body_type_basic): allow body-fields omissions.
33 lines of code changed in:
Don't include &block if we have yield parameters
18 lines of code changed in:
use recv instead of recvfrom
5 lines of code changed in:
* lib/gserver.rb: documented
* lib/xmlrpc/README.txt: introduced for documentation purposes
112 lines of code changed in:
Fix parsing problem with yield within block
7 lines of code changed in:
* test/fileutils/test_fileutils.rb (rm_f, rm_r): test :force flag.
23 lines of code changed in:
2004-05-02
4 lines of code changed in:
* renewal Ruby/Tk
27281 lines of code changed in: