updated based on date2 3.9.4.
474 lines of code changed in:
2006-09-30
3 lines of code changed in:
* ext/digest/lib/digest.rb (Digest): Require digest.so and fix the
breakage. Point out by NAKAMURA Usaku in [ruby-dev:29619].
7 lines of code changed in:
* jcode.rb (succ!): call original succ! if $KCODE == 'n'.
fixed: [ruby-talk:216845]
6 lines of code changed in:
* lib/mkmf.rb (try_func): revert fallback checking undeclared function.
fixed: [ruby-core:08949]
11 lines of code changed in:
* lib/optparse.rb (OptionParser::Switch#conv_arg): unsplat by
Proc#call if no conversion is given.
6 lines of code changed in:
* ext/extmk.rb: extout is needed for also clean.
fixed: [ruby-core:08944]
5 lines of code changed in:
* lib/optparse.rb (parse_in_order): splat arguments to callback block.
6 lines of code changed in:
2006-09-29
3 lines of code changed in:
* node.h (struct thread): declare win32_exception_list on cygwin and
win32 regardless if it is implemented. Provisional fix for
[ruby-core:08917].
8 lines of code changed in:
* lib/tmpdir.rb: use return value of getdir.call for length.
6 lines of code changed in:
2006-09-28
3 lines of code changed in:
* ext/digest/md5/md5init.c (Init_md5): Now that we have digest.rb,
require "digest" rather than "digest.so".
* ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto.
* ext/digest/sha1/sha1init.c (Init_sha1): Ditto.
* ext/digest/sha2/sha2init.c (Init_sha2): Ditto.
15 lines of code changed in:
* string.c (rb_str_startwith): rename startwith? to start_with?,
endwith? to endwith?, respectively. [ruby-talk:216685]
11 lines of code changed in:
* lib/cgi.rb (CGI::TagMaker::nOE_element_def): replace to_s by
join. some other methods as well. [ruby-dev:29613]
10 lines of code changed in:
socket.c: a rdoc patch from Daniel Berger <djberg96 at gmail.com>
8 lines of code changed in:
* array.c (rb_ary_shift): shift/unshift performance boost patch,
based on the patch from Eric Mahurin <eric_mahurin at yahoo.com>.
[ruby-core:05861]
* array.c (rb_ary_unshift_m): ditto.
* array.c (ary_make_shared): ditto.
* array.c (RESIZE_CAPA): ditto.
* array.c (rb_ary_free): new function to free memory. code moved
from gc.c.
* string.c (rb_str_free): ditto.
124 lines of code changed in:
* lib/mkmf.rb (try_func): check function pointer first and macro next.
* lib/mkmf.rb (have_type): simplified with typedef and sizeof.
10 lines of code changed in:
* lib/optparse.rb (OptionParser#parse_in_order): wrong splat for
callbacks.
1 lines of code changed in:
2006-09-27
3 lines of code changed in:
* test/optparse/test_getopts.rb: added short and long tests.
22 lines of code changed in:
* test/optparse/test_getopts.rb: added.
11 lines of code changed in:
* lib/optparse.rb (OptionParser#getopts): use strings as key.
fixed: [ruby-dev:29614]
26 lines of code changed in:
* {win32,wince}/Makefile.sub (CPP): check predefined value.
2 lines of code changed in:
* win32/Makefile.sub (CPP): check predefined value.
5 lines of code changed in:
2006-09-26
3 lines of code changed in:
* array.c (rb_ary_shift): should not move memory region if array
body is shared. a patch from Kent Sibilev <ksruby at gmail.com>.
[ruby-core:08922]
7 lines of code changed in:
* dir.c (rb_push_glob): need not to check by FilePathValue().
[ruby-dev:29599]
* dir.c (dir_globs): ditto.
9 lines of code changed in:
* lib/mkmf.rb (rm_f): get rid of NUL.
* lib/mkmf.rb (init_mkmf): set default $LDFLAGS. Patch by Michal
Suchanek <hramrach at centrum.cz>. [ruby-talk:216256]
8 lines of code changed in:
* file.c (rb_path_end): skip root directory. fixed: [ruby-core:08913]
3417 lines of code changed in:
* sample/test.rb: "print nil" now prints empty string.
* test/ruby/test_system.rb (TestSystem::test_system): ditto.
8 lines of code changed in:
* hash.c (recursive_hash): remove unused local variable.
* parse.y (parser_yylex): ditto.
* parse.y (rb_gc_mark_symbols): fix unmatched prototype .
* file.c (rb_get_path): check NUL byte in the path string.
14 lines of code changed in:
array.c (rb_ary_shift): small bug fix
1 lines of code changed in:
* array.c (rb_ary_shift): should clear shifting top element.
[ruby-talk:216055]
* array.c (rb_ary_shift): avoid creating shared object if array
size is small.
14 lines of code changed in:
2006-09-25
3 lines of code changed in:
* random.c (rb_f_rand): RDoc typo fix. a patch from Frederick
Cheung <fred at 82ask.com>. [ruby-talk:216047]
6 lines of code changed in:
add ML entry
1 lines of code changed in:
* gc.c (gc_mark_children): NODE_POSTEXE holds Ruby VALUE.
8 lines of code changed in:
* runruby.rb: extension library scripts moved into common directory.
5 lines of code changed in:
updated based on date2 3.9.3.
101 lines of code changed in:
* io.c (rb_io_print): no special handling for nil as well as puts.
fixed: [ruby-dev:29586]
9 lines of code changed in:
2006-09-24
3 lines of code changed in:
* eval.c (rb_thread_save_context, rb_thread_restore_context):
sandbox hook to save and restore sandbox state.
* eval.c (thread_no_ensure): added THREAD_NO_ENSURE thread flag.
* eval.c (rb_thread_kill_bang): Thread#kill! uses the above flag
to circumvent ensure, in order to prevent endless loops.
contributed by MenTaLguY. [ruby-core:08768]
* eval.c (rb_thread_kill): fix Thread#kill docs, which returns
the thread object in all cases.
* node.h: expose the rb_jmpbuf_t and rb_thread_t structs, along
with the thread flags. used by the sandbox extension.
* ruby.h: extern rb_eThreadError, so sandbox can swap it.
195 lines of code changed in:
* lib/cgi.rb (CGI::QueryExtension::read_multipart): CGI content
may be empty. a patch from Jamis Buck <jamis at 37signals.com>.
6 lines of code changed in:
merge Oniguruma 4.4.4
24 lines of code changed in:
* lib/rdoc/ri/ri_options.rb: prevent NameError. [ruby-dev:29597]
5 lines of code changed in:
updated based on date2 3.9.2.
132 lines of code changed in:
2006-09-23
3 lines of code changed in:
* string.c (rb_str_partition): no need to call rb_call_super(),
since String is no longer includes Enumerable.
7 lines of code changed in:
* hash.c (rb_hash_eql): new method to be used by Hash.
* hash.c (rb_hash_hash): ditto.
90 lines of code changed in:
* bignum.c (rb_big_hash): use rb_memhash().
* numeric.c (flo_hash): simplified. klass need not to affect
resulting hash value.
11 lines of code changed in:
* string.c (str_new3): embed shorter strings more eagerly.
16 lines of code changed in:
* .cvsignore: ignore timestamp files and installed list file.
6 lines of code changed in:
* instruby.rb: include FileUtils unconditionally.
5 lines of code changed in:
2006-09-22
3 lines of code changed in:
* numeric.c (Init_Numeric): fix_odd_p and fix_even_p are for Fixnum.
patch from Ondrej Bilka <neleai at seznam.cz>. [ruby-core:08904]
7 lines of code changed in:
* common.mk (no-install): not install rdoc actually.
* common.mk (install-doc, no-install-doc): use instruby.rb.
* instruby.rb: rdoc installation.
* ext/extmk.rb: expand ruby executable names.
47 lines of code changed in:
* string.c (rb_str_startwith): a new method to check if a string
starts with given prefix.
* string.c (rb_str_endwith): the opposite of String#startwith?.
55 lines of code changed in:
* rubytest.rb: use each_line instead of each.
6 lines of code changed in:
* numeric.c (int_odd_p): a new method to check even or odd.
[RCR#337]
* numeric.c (int_even_p): ditto.
75 lines of code changed in:
* string.c (Init_String): Strings are no longer Enumerable. use
each_lines or lines method explicitly.
* string.c (Init_String): remove each method. use each_lines.
5 lines of code changed in:
* ext/etc/etc.c (etc_getpwuid): uid integer should be wraped in
uid_t value. [ruby-core:08897]
* ext/etc/etc.c (etc_getpwuid): uid_t may be bigger than plain
'int' type.
19 lines of code changed in:
* string.c (rb_str_partition): RDoc typo fixed. [ruby-core:08898]
* string.c (rb_str_rpartition): fixed separation seek bug.
10 lines of code changed in:
* string.c (rb_str_lines): new method to split a string into lines.
41 lines of code changed in:
2006-09-21
3 lines of code changed in:
* string.c (rb_str_partition): a new method to separate the string
by a separator. taken from Python 2.5.
* string.c (rb_str_rpartition): ditto.
108 lines of code changed in:
* common.mk (pre-install-doc): create data directory before install.
* lib/mkmf.rb (dir_re): fixed typo.
* lib/mkmf.rb (install_dirs): remove extra slash.
11 lines of code changed in:
* numeric.c (fix_mul): typo again. patch from Tadashi Saito
<shiba at mail2.accsnet.ne.jp>. fixed: [ruby-core:08893]
6 lines of code changed in:
* string.c (sym_eql): fail early to gain performance.
* string.c (sym_hash): cache hash value in aux.shared if possible.
* gc.c (rb_obj_id): no need to treat symbols specially.
* lib/fileutils.rb (FileUtils::FileUtils): singleton_methods() no
longer return an array of strings, but of symbols.
* lib/delegate.rb (DelegateClass): ditto.
65 lines of code changed in:
* swapped ChangeLog entries. Sorry....
5 lines of code changed in:
* forgot to commit ChangeLog. Sorry.
5 lines of code changed in:
* {bcc32,win32,wince}/Makefile.sub (INSTALLED_LIST): need to define
this macro to install.
12 lines of code changed in:
* lib/net/imap.rb: allow extra spaces in responses.
Thanks, Tom Soderlund.
1 lines of code changed in:
* ext/gdbm/gdbm.c: add RDoc documentation. a patch from Peter
Adolphs <futzilogik at users dot sourceforge dot net>.
[ruby-doc:1223]
413 lines of code changed in:
2006-09-20
3 lines of code changed in:
* object.c (rb_obj_ivar_defined, rb_mod_cvar_defined): new methods,
Kernel#instance_variable_defined? and Module#class_variable_defined?.
[ruby-dev:29587]
* lib/date/format.rb (Date::Bag#method_missing): use new method,
instance_variable_defined? to check if an instance variable is
defined. fixed: [ruby-dev:29554]
3436 lines of code changed in:
2006-09-19
3 lines of code changed in:
* dir.c (dir_s_glob): restore GC protection volatile variable.
[ruby-dev:29588]
* re.c (rb_reg_regcomp): ditto.
11 lines of code changed in:
* numeric.c (fix_mul): get rid of shift overflow.
5 lines of code changed in:
2006-09-18
3 lines of code changed in:
* dir.c (dir_s_glob): remove unused variable.
* math.c (math_log): ditto.
* re.c (rb_reg_regcomp): ditto.
* eval.c (break_jump): ditto.
* eval.c (rb_thread_yield_0): remove unused function.
17 lines of code changed in:
* lib/rdoc/rdoc.rb (RDoc::RDoc#document): scan only files modified
after the previous generation.
53 lines of code changed in:
* common.mk (install-doc): reverted.
* instruby.rb: stores file name list without destdir prefix.
* lib/rdoc/generators/ri_generator.rb: do not chdir twice.
121 lines of code changed in:
* numeric.c (fix_mul): fixed typo. fixed: [ruby-core:08885]
7 lines of code changed in:
2006-09-17
3 lines of code changed in:
use assert_same instead of assert_equal.
1 lines of code changed in:
* README.EXT: should mention new macros: RSTRING_PTR, RSTRING_LEN,
RARRAY_PTR, RARRAY_LEN.
* README.EXT.ja: ditto.
16 lines of code changed in:
* ChangeLog: commit miss.
4 lines of code changed in:
* lib/mkmf.rb (checking_for): improved the messages.
23 lines of code changed in:
* ext/pty/pty.c (establishShell): parent pid is not used.
* ext/pty/pty.c (freeDevice): not used.
18 lines of code changed in:
* ext/io/wait/extconf.rb: suspicious checking_for.
4 lines of code changed in:
* ext/dbm/extconf.rb: allow multiple candidates for dbm-type.
28 lines of code changed in:
* Makefile.in, common.in, instruby.rb, ext/extmk.rb, lib/mkmf.rb:
use instruby.rb to install extensions instead of ext/extmk.rb.
* instruby.rb: store installed list into the file.
284 lines of code changed in:
* array.c (ary_shared_first): should create embedded copies
instead of sharing memory region for smaller arrays.
7 lines of code changed in:
2006-09-16
3 lines of code changed in:
* struct.c (inspect_struct): do not display a class name for
anonymous struct. The member fields are sufficient.
11 lines of code changed in:
* ext/nkf/nkf-8/nkf.c: imported nkf 2.0.8 rev.110.
* Fix: check_bom cuts \xfe\xff\xXX\xXX of UTF-32.
* Add support --ic=UTF-32.
* Fix: can't guess UTF-16 and UTF-32.
* Fix: can't decode beyond BMP of UTF-16LE.
* ext/nkf/nkf.c (guess): Support UTF-32.
* ext/nkf/lib/kconv.rb (kconv): Support UTF-32.
* ext/nkf/lib/kconv.rb (to_utf32): new method.
* ext/nkf/lib/kconv.rb (to_utf32): new method.
131 lines of code changed in:
* ext/nkf/nkf-8/nkf.c: imported nkf 2.0.8 2006-09-15.
Add support for U+10000 - U+10FFFF
Add support UTF-32
501 lines of code changed in:
* ext/digest/lib/digest.rb (Digest::Base.file): open a file in binary
mode. suggested by Kazuhiro NISHIYAMA. [ruby-dev:29579]
6 lines of code changed in:
2006-09-15
3 lines of code changed in:
* numeric.c (fix_mul): avoid bignum multiplication as far as
possible. a patch from Ondrej Bilka <neleai at seznam.cz>.
[ruby-core:08825]
25 lines of code changed in:
* string.c (rb_str_intern): allow zero length symbols.
[ruby-core:08861]
5 lines of code changed in:
* string.c (rb_str_intern): raise SecurityError only when $SAFE
level is greater than zero. [ruby-core:08862]
* parse.y (rb_interned_p): new function to check if a string is
already interned.
* string.c (str_to_id): use rb_str_intern().
25 lines of code changed in:
add a document for Digest::Base.file.
4 lines of code changed in:
* ext/digest/lib/digest.rb (Digest::Base.file): new method.
[ruby-dev:29572]
18 lines of code changed in:
add ML ref.
2 lines of code changed in:
* ext/digest/digest.c (rb_digest_base_inspect): new method.
26 lines of code changed in:
* gc.c (ruby_init_stack): decrease "stack level too deep" in Windows.
[ruby-dev:29569]
19 lines of code changed in:
* ext/digest/lib/digest.rb: new file.
12 lines of code changed in:
2006-09-14
3 lines of code changed in:
* README.EXT: English adjustment. [ruby-core:08855]
6 lines of code changed in:
* README.EXT: English adjustment. [ruby-core:08851] and
[ruby-core:08852]
35 lines of code changed in:
* misc/ruby-mode.el (ruby-parse-partial): better here-doc support.
a patch from Marshall T. Vandegrift <llasram at gmail.com>.
[ruby-core:08804]
7 lines of code changed in:
* string.c (rb_str_intern): allow symbols to contains nul.
* string.c (sym_inspect): symbol may contain nul.
8 lines of code changed in:
* string.c (rb_str_intern): prohibit interning tainted string.
7 lines of code changed in:
* hash.c (rb_hash_compare_by_identity): rename Hash#identical to
Hash#compare_by_identity.
13 lines of code changed in:
* lib/optparse.rb (OptionParser#getopts): works with pre-registered
options. [ruby-core:08826]
33 lines of code changed in:
2006-09-13
3 lines of code changed in:
2006-09-12
3 lines of code changed in:
* hash.c (rb_hash_compare_by_identity): rename Hash#identical to
Hash#compare_by_identity.
19 lines of code changed in:
* hash.c (rb_hash_identical): a new method to make a hash to
compare keys by their identity.
* hash.c (rb_hash_identical_p): new method to tell if a hash is
identical or not.
* st.c (st_numcmp, st_numhash): export hash type functions.
70 lines of code changed in:
* lib/rexml/source.rb (REXML::Source::encoding): should not
convert the body twice. [ruby-core:08828]
* lib/rexml/encoding.rb (REXML::Encoding::encoding):
Encoding#encoding= to return boolean value to tell if the body
is really converted or not.
* lib/rexml/encoding.rb (REXML::Encoding::encoding): Specific
conversion library (e.g. rexml/encodings/UTF-16.rb) to have
higher preceding.
* lib/rexml/encodings/UTF-16.rb (REXML::Encoding::decode_utf16):
UTF-16#decode_utf16 should work strings without BOM.
35 lines of code changed in:
2006-09-11
3 lines of code changed in:
* string.c (sym_equal): "sym == str" should compare them as
strings. [ruby-dev:29554]
10 lines of code changed in:
* instruby.rb (parse_args): remove splat.
5 lines of code changed in:
updated based on date2 3.9.1.
178 lines of code changed in:
* file.c: ISPRINT() needs ctype.h
6 lines of code changed in:
* lib/optparse.rb: splat parsed arguments.
9 lines of code changed in:
* eval.c (rb_require_safe): prevent extension from loading twice.
fixed: [ruby-dev:29523]
12 lines of code changed in:
2006-09-10
3 lines of code changed in:
* file.c (rb_f_test): test(0) should not have any special
meaning. [ruby-dev:29425]
* file.c (rb_f_test): properer error message.
19 lines of code changed in:
Rescue Exception in Test::Unit::TestCase#run. [ruby-core:08783]
15 lines of code changed in:
* bcc32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.
1 lines of code changed in:
* lib/pstore.rb: open all in binary mode, and get rid of the quirk of
msvcrt. fixed: [ruby-dev:29518]
15 lines of code changed in:
2006-09-09
3 lines of code changed in:
* Makefile.in, win32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.
* mkconfig.rb, ext/extmk.rb, lib/mkmf.rb, win32/mkexports.rb: suppress
warnings with $VERBOSE.
* win32/resource.rb: only file which has more than one icon is DLL.
58 lines of code changed in:
* string.c (str_alloc): should allocate a String object, even when
asked to allocate a Symbol object. [ruby-dev:29529]
8 lines of code changed in:
* ext/extmk.rb (extmake): follow Array#to_s.
* lib/mkmf.rb (create_makefile): ditto.
* win32/resource.rb: ditto.
11 lines of code changed in:
Merged changes into HEAD from REXML 3.1.5.
The list of bug fixes/enhancements is at:
http://www.germane-software.com/projects/rexml/query?status=closed&milestone=3.1.5
87 lines of code changed in:
* lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): new
method to parse multiple cookies per Set-Cookie header.
Thanks to Aaron Patterson <aaron_patterson at speakeasy.net>.
[ruby-core:08802]
44 lines of code changed in:
* win32/Makefile.sub, win32/configure.bat win32/setup.mak: program
name transform.
21 lines of code changed in:
* lib/optparse.rb: suppress `assigning void value' warning.
10 lines of code changed in:
* array.c (Init_Array): #to_s to be an alias to #inspect.
[EXPERIMENTAL] [ruby-dev:29520]
* hash.c (Init_Hash): ditto.
* lib/mkmf.rb (create_makefile): replace "print array" by
"print *array".
* mkconfig.rb: ditto.
29 lines of code changed in:
* object.c (nil_to_s): returns the empty string again.
[ruby-dev:29520]
8 lines of code changed in:
2006-09-08
3 lines of code changed in:
* time.c (time_to_s): adopt new date format using digits
e.g. "2006-09-07 02:03:45 +9000".
22 lines of code changed in:
* file.c (path_check_0, fpath_check): disable path check on cygwin.
[ruby-talk:213074]
16 lines of code changed in:
2006-09-07
3 lines of code changed in:
* string.c (sym_equal): override. check equivalence.
21 lines of code changed in:
* parse.y (symbols_i): need to initialize early-created symbols.
[ruby-dev:29496]
8 lines of code changed in:
* ext/nkf/lib/kconv.rb (Kconv::toeuc): remove -m0 [ruby-dev:29505]
5 lines of code changed in:
2006-09-06
3 lines of code changed in:
* ext/tk/tcltklib.c: use rb_ary_new3() since RARRAY_LEN() is not l-value.
* ext/tk/tkutil/tkutil.c: use RARRAY_PTR() and RARRAY_LEN() and etc.
fixed: [ruby-dev:29473]
82 lines of code changed in:
* time.c (time_to_s): variable declaration after an execution
statement.
9 lines of code changed in:
* file.c (path_check_0): check if sticky bit is set on parent
directories for executable path. fixed: [ruby-dev:29415]
10 lines of code changed in:
* numeric.c (fix_plus): addition in Fixnum will never overflow
long. a patch from Ondrej Bilka <neleai at seznam.cz>.
[ruby-core:08794]
* numeric.c (fix_minus): ditto.
* bignum.c (rb_big_pow): eagerly truncate resulting bignum.
[ruby-core:08794]
15 lines of code changed in:
2006-09-05
3 lines of code changed in:
* time.c (time_to_s): make it conform to RFC2822 date format.
[ruby-dev:29467]
17 lines of code changed in:
* ext/dbm/extconf.rb: create makefile according to the result of check
for dbm header. fixed: [ruby-dev:29445]
9 lines of code changed in:
updated based on date2 3.9.
81 lines of code changed in:
* time.c (time_strftime): include nul character. fixed: [ruby-dev:29422]
5 lines of code changed in:
enum.c: revert last changes
0 lines of code changed in:
* lib/cgi.rb (CGI::out): specify -x option for nkf.
* lib/cgi.rb (CGI::out): should not convert utf-8 implicitly using
NKF. it is too Japanese centric.
37 lines of code changed in:
* parse.y (rb_id2sym): intern if id is attrset_id.
[ruby-dev:29420] [ruby-dev:29447]
15 lines of code changed in:
2006-09-04
3 lines of code changed in:
* eval.c (rb_f_local_variables): list symbols.
* struct.c (rb_struct_s_members_m): ditto.
* variable.c (ivar_i): ditto.
* variable.c (gvar_i): ditto.
* variable.c (cv_i): ditto.
19 lines of code changed in:
* ruby.h (SYMBOL_P): Qnil and Qfalse are not Symbol.
5 lines of code changed in:
* lib/mkmf.rb: get rid of nil.to_s.
10 lines of code changed in:
revert the definition of _XOPEN_SOURCE_EXTENDED on HP-UX.
0 lines of code changed in:
* ext/socket/socket.c (ruby_connect): sockerrlen should be socklen_t.
6 lines of code changed in:
* ext/socket/extconf.rb: check arpa/inet.h for ntohs.
* ext/socket/socket.c: include arpa/inet.h if available.
12 lines of code changed in:
* ext/curses/curses.c: define _XOPEN_SOURCE_EXTENDED on HP-UX.
8 lines of code changed in:
* string.c (Init_String): undef Symbol#new.
* struct.c (rb_struct_s_def): wrong symbol detection.
11 lines of code changed in:
* string.c (str_to_id): a bug caused by premature optimization.
4 lines of code changed in:
2006-09-03
3 lines of code changed in:
* object.c (Init_Object): move symbol related code to string.c
* string.c (Init_String): Symbol as subclass of String.
* parse.y (rb_intern2): handle symbol as strings.
* string.c (str_new): substring of symbols are mere strings, not
symbols.
301 lines of code changed in:
* ruby.h (struct RArray): embed small arrays.
(RARRAY_LEN): defined for accessing array members.
(RARRAY_PTR): ditto.
* array.c: use RARRAY_LEN and RARRAY_PTR.
804 lines of code changed in:
* eval.c (rb_eval): should handle when in else clause. a patch
from Eric Hodel <drbrain at segment7.net>. [ruby-core:08662]
* parse.y (primary): wrap with NODE_CASE. [ruby-core:08663]
11 lines of code changed in:
* common.mk (ia64.o): use the compiler driver to assemble ia64.s
to use appropriate ABI.
6 lines of code changed in:
* lib/soap/generator.rb (SOAP::SOAPGenerator#encode_tag): do not dump
XML attribute which value is nil. value "" and nil both were dumped
as 'attr="value"'. [ruby-dev:29395]
19 lines of code changed in:
* lib/csv.rb (CSV::IOReader#initialize): use String#[](pos, len)
instead of String#[](idx) to check utf BOM. follows String#[](idx)
behavior change of 1.9.
7 lines of code changed in:
2006-09-02
3 lines of code changed in:
update modified time.
0 lines of code changed in:
string.c (rb_str_resize): typo fixed
1 lines of code changed in:
* ruby.h (RSTRING_EMBED_LEN_MASK): uses 5 bits to support 64bit
environment. [ruby-dev:29369]
6 lines of code changed in:
* string.c (rb_str_resize): should copy embedded string to
malloc'ed buffer. a patch from <nobu at ruby-lang.org> in
[ruby-dev:29369]. fixed: [ruby-dev:29368]
* string.c (rb_str_ord): use %ld specifier since STRING_LEN() is a
long. [ruby-dev:29369]
15 lines of code changed in:
* ext/socket/socket.c (socks_init): typo fixed. a patch from Sven
Klemm <sven at c3d2.de>. [ruby-core:08770]
6 lines of code changed in:
* array.c (rb_ary_shuffle): RDoc fixed.
6 lines of code changed in:
* ext/tk/lib/tk/font.rb: TkFont#current_configinfo() doesn't work on Tcl/Tk8.x.
* ext/tk/lib/tk.rb: update RELEASE_DATE.
11 lines of code changed in:
* lib/irb/ruby-lex.rb (RubyLex::getc): should not push nil into
reading buffer (@readed). reported in
<http://jarp.does.notwork.org/diary/200608c.html#200608311>.
7 lines of code changed in:
2006-09-01
4 lines of code changed in:
* lib/irb/ruby-lex.rb (RubyLex::getc): should not push nil into
reading buffer (@readed). reported in
<http://jarp.does.notwork.org/diary/200608c.html#200608311>.
2 lines of code changed in: