add 2 assertions.
2 lines of code changed in:
add a test. [ruby-dev:22619]
14 lines of code changed in:
* time.c (year_leap_p): new function.
(timegm_noleapsecond): ditto.
(search_time_t): use timegm_noleapsecond instead of
mktime for first guess.
95 lines of code changed in:
2004-03-31
3 lines of code changed in:
* intern.h: provide proper prototypes. [ruby-core:02724]
* ruby.h: missing.h is now prerequisite to intern.h.
10 lines of code changed in:
* pack.c (pack_pack): raises RangeError if uv is out of UTF8 value
range. [ruby-dev:23281]
* io.c (rb_io_binmode): stdio buffer should be empty when calling
IO#binmode. [ruby-talk:96155]
32 lines of code changed in:
* lib/delegate.rb (DelegateClass): define internal methods of the
result class, but not metaclass of the caller.
12 lines of code changed in:
more tests for Time.utc.
29 lines of code changed in:
add test for minimum 32bit signed time_t for Time.utc.
2 lines of code changed in:
* time.c (search_time_t): limit guess range by mktime if it is
available.
1 lines of code changed in:
* time.c (search_time_t): limit guess range by mktime if it is
availabe.
24 lines of code changed in:
2004-03-30
3 lines of code changed in:
* eval.c (rb_eval): fix SEGV at retry in iterator's receiver.
[ruby-dev:23227]
6 lines of code changed in:
* process.c (rb_exec): follow older behavior if close-on-exec is not
available.
* process.c (rb_fork): protect from exceptions while waiting failed
process, if status is given.
80 lines of code changed in:
2004-03-29
3 lines of code changed in:
* exception message clean-up by Ian Macdonald <ian@caliban.org>.
127 lines of code changed in:
Documentation fixes and a patch to fix whitespace handling.
43 lines of code changed in:
fix typo.
4 lines of code changed in:
2004-03-28
3 lines of code changed in:
* cygwin/GNUmakefile.in (clean-local, distclean-local): remove
work files.
* win32/Makefile.sub (clean-local): ditto.
17 lines of code changed in:
* lib/net/pop.rb: def m( arg ) -> def m(arg).
47 lines of code changed in:
* lib/net/pop.rb (auth): failed when account/password include "%". [ruby-talk:95933]
2 lines of code changed in:
* lib/net/pop.rb: revert to rev1.63. 1.64 wrongly contains POPS code.
6 lines of code changed in:
* lib/net/pop.rb (auth): failed when account/password include "%". [ruby-talk:95933]
31 lines of code changed in:
* (lib/open-uri.rb): permit extra semicolon in content-type field.
7 lines of code changed in:
* (lib/pp.rb, lib/prettyprint.rb): define seplist in PP::PPMethods
instead of PrettyPrint.
51 lines of code changed in:
2004-03-27
3 lines of code changed in:
* lib/logger.rb: trim tail space of each line. no user visible change.
* lib/rss/dublincore.rb: fixed class definition mismatch.
* sample/openssl/gen_csr.rb: fixed wrong usage text.
21 lines of code changed in:
Missing trailing "$"
1 lines of code changed in:
Add --version option to ri
21 lines of code changed in:
Bug in + and - reported by Bret Jolly fixed.
6 lines of code changed in:
Bug in + and - reported by Bret Jolly fixed.
8 lines of code changed in:
* version.c (ruby_show_copyright): obtain copyright year from
RUBY_RELEASE_YEAR.
* win32/resource.rb: ditto.
20 lines of code changed in:
integrated to win32/*.rb.
0 lines of code changed in:
* win32/resource.rb: default rubyw icon to ruby.ico, and let DLL also
include them.
* win32/resource.rb: include winver.h for older WindowsCE.
11 lines of code changed in:
* common.mk, */Makefile.sub (lib, dll): phony targets.
* configure.in (ruby, miniruby): ditto.
* cygwin/GNUmakefile.in (rubyw): ditto.
23 lines of code changed in:
2004-03-25
3 lines of code changed in:
Add the --list-names option
75 lines of code changed in:
Must now use "::" to separate nested classes. This fixes bug where "ri Kernel.Array" was looking for a class called Array
7 lines of code changed in:
Get --one-page working with C code
12 lines of code changed in:
Move "y" documentation to correct place
16 lines of code changed in:
* lib/uri.rb: Documented (thanks Dmitry V. Sabanin).
* lib/uri/common.rb: Ditto.
* lib/uri/ftp.rb: Ditto.
* lib/uri/generic.rb: Ditto.
* lib/uri/http.rb: Ditto.
* lib/uri/https.rb: Ditto.
* lib/uri/ldap.rb: Ditto.
* lib/uri/mailto.rb: Ditto.
968 lines of code changed in:
* lib/mkmf.rb ($ruby, $topdir, $hdrdir): should not be affected by
DESTDIR after installed.
* lib/mkmf.rb (dummy_makefile): default file lists to be cleaned.
21 lines of code changed in:
* lib/tempfile.rb: fixed a stupid bug. [ruby-talk:95680]
1 lines of code changed in:
Don't be as eager to invent classes to document
17 lines of code changed in:
Allow templates to be specified outside the RDoc tree
13 lines of code changed in:
* lib/tempfile.rb (Tempfile::_close): should not clear @tmpname
until the file is really removed. [ruby-core:02684]
12 lines of code changed in:
2004-03-24
3 lines of code changed in:
* object.c (rb_mod_cvar_get): new method Module#class_variable_get.
* object.c (rb_mod_cvar_set): ditto (Module#class_variable_set).
* eval.c (rb_thread_atfork): 1.9 warns no more for thread
termination. [ruby-dev:23212]
72 lines of code changed in:
2004-03-23
3 lines of code changed in:
MANIFEST update.
2 lines of code changed in:
* bcc32/Makefile.sub: needs bcc32/mkexports.rb.
4 lines of code changed in:
* Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):
separate files under directories due to directory separator.
* */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be
removed.
* win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit
rules.
* cygwin/GNUmakefile.in: some mingw stuffs were missed.
* lib/mkmf.rb (create_makefile): Borland make wrongly removes braces
from command lines.
85 lines of code changed in:
2004-03-22
3 lines of code changed in:
* Makefile.in, */Makefile.sub, common.mk: extract common portions.
* Makefile.in, cygwin/GNUmakefile.in, */Makefile.sub (RBCONFIG):
separated time stamp file for rbconfig.rb.
* configure.in: append common.mk to Makefile.
* mkconfig.rb: keep mtime of rbconfig.rb if unchanged.
* win32/rm.bat: remove multiple files.
* wince/mkconfig_wce.rb: use fake.rb instead.
577 lines of code changed in:
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#virtual_host):
sort @virtual_hosts in address, port, host order.
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
hostname should not be match if :ServerAlias is not given.
17 lines of code changed in:
* lib/shell/*: bug fix for Shell#system(command_line_string).
20 lines of code changed in:
* ruby.1: add -width option to .Bl for old groff.
5 lines of code changed in:
MANIFEST:
Added files:
ruby/lib/rss:
xml-stylesheet.rb
ruby/test/rss:
test_xml-stylesheet.rb rss-assertions.rb rss-testcase.rb
Removed files:
ruby/test/rss:
common.rb my-assertions.rb
4 lines of code changed in:
* test/rss/*: Test::Unit::TestCase -> RSS::TestCase and
Test::Unit::Assertions -> RSS::Assertions.
1076 lines of code changed in:
* lib/rss/{rss,dublincore,syndication}.rb: handled W3CDTF correctly.
42 lines of code changed in:
* test/rss/test_xml-stylesheet.rb: added tests for xml-stylesheet.
* lib/rss/xml-stylesheet.rb: added xml-stylesheet parsing
function.
385 lines of code changed in:
2004-03-21
3 lines of code changed in:
* eval.c (rb_require_safe): preserve old ruby_errinfo.
[ruby-talk:95409]
* eval.c (rb_f_raise): should not clear backtrace information if
exception object already have one.
* parse.y (assoc_list): allow {sym: val} style Hash. [Ruby2]
this change is done by Nobuyoshi Nakada <nobu@ruby-lang.org>.
59 lines of code changed in:
* ext/extmk.rb: rm -rf $extout, not extout.
5 lines of code changed in:
Force RDoc html background to white
6 lines of code changed in:
2004-03-20
3 lines of code changed in:
synchronized with date2 3.6.
41 lines of code changed in:
* variable.c (rb_cvar_set): class variables become private to the
particular class/module. [Ruby2]
* variable.c (rb_cvar_get): ditto.
* io.c (rb_io_sync): need not to check writable. [ruby-core:02674]
57 lines of code changed in:
2004-03-19
3 lines of code changed in:
* lib/mkmf.rb ($beos, $solaris): add OS flags.
* lib/mkmf.rb (RUBY): / is not recognized as path separator on
nmake/bmake. [ruby-list:39388]
* lib/mkmf.rb (CLEANLIBS, CLEANOBJS): should remove *.exp with *.so.
15 lines of code changed in:
* instruby.rb, rubytest.rb: do not depend on srcdir.
9 lines of code changed in:
* eval.c (proc_eq): avoid false positive by using scope and
dyna_vars. no longer use frame.uniq.
* eval.c (proc_arity): arity is now defined as number of
parameters that would not be ignored. i.e. Proc.new{}.arity
returns zero. update test suites too.
18 lines of code changed in:
* mkconfig.rb: no longer embed srcdir and compile_dir into
rbconfig.rb.
* ext/extmk.rb, lib/mkmf.rb: obtain top_srcdir and topdir from library
paths.
33 lines of code changed in:
stop undef DRbObject#to_a
5 lines of code changed in:
2004-03-18
3 lines of code changed in:
* eval.c: remove specialized version of rb_Array(). use simple
one defined in object.c.
* object.c (Init_Object): remove Kernel#to_a.
* enum.c (enum_zip): use "to_a" instead of "to_ary".
13 lines of code changed in:
* error.c (exc_initialize): calling 'to_str' each time just for
type checking is too heavy. [ruby-core:02661]
14 lines of code changed in:
2004-03-17
3 lines of code changed in:
* oniguruma.h, regparse.c: imported Oniguruma 2.2.5.
79 lines of code changed in:
This commit was generated by cvs2svn to compensate for changes in r5960,
which included commits to RCS files with non-trunk default branches.
19 lines of code changed in:
Fix ChangeLog
2 lines of code changed in:
2004-03-16
3 lines of code changed in:
Fix ChangeLog
7 lines of code changed in:
* dir.c (fnmatch_helper): File.fnmatch('\.', '.') should return true.
(Rev1.112 lost compatiblity)
* dir.c (fnmatch_helper): File.fnmatch('\/', '/', File::FNM_PATHNAME)
should return true. (Rev1.112 lost compatiblity)
* dir.c (fnmatch): '**/' shouldn't match leading period unless
File::FNM_DOTMATCH is set.
37 lines of code changed in:
2004-03-15
3 lines of code changed in:
* eval.c (rb_yield_0): should not re-submit TAG_BREAK if this
yield is not break destination. [ruby-dev:23197]
18 lines of code changed in:
* ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder):
add do_not_reverse_lookup.
11 lines of code changed in:
2004-03-14
3 lines of code changed in:
* eval.c (rb_thread_raise): err at unstarted thread. (PR#1302)
7 lines of code changed in:
2004-03-13
3 lines of code changed in:
use druby://localhost:0, [ruby-dev:23078]
17 lines of code changed in:
* dir.c (fnmatch):
directory recursion '**/' can be used with File::FNM_PATHNAME.
[ruby-dev:22901]
* dir.c (fnmatch_helper):
only '/' is accepted as path separator even in DOSISH environment.
[ruby-dev:22974] [ruby-list:39337]
* dir.c (fnmatch_helper):
faster '*' matching.
145 lines of code changed in:
2004-03-12
3 lines of code changed in:
* configure.in (rb_cv_noreturn): default for platforms not support
prototypes.
* ruby.c (ruby_init_loadpath): buffer for path name should have
MAXPATHLEN.
* lib/mkmf.rb (configuration): include topdir and hdrdir in VPATH.
* lib/mkmf.rb (create_makefile): default dependency rule.
35 lines of code changed in:
* lib/webrick/config.rb (WEBrick::Config::General): add
:DoNotReverseLookup.
* lib/webrick/server.rb (WEBrick::GenericServer#accept): call
do_not_reverse_lookup for each socket if :DoNotReverseLookup
is set. [ruby-code:02357]
13 lines of code changed in:
* test/fileutils/test_fileutils.rb (test_rm_r): test if rm_rf can remove a symlink to the directory.
9 lines of code changed in:
* lib/fileutils.rb (remove_dir): should handle symlink correctly. This patch is contributed by Christian Loew. [ruby-talk:94635]
8 lines of code changed in:
* eval.c (return_jump): set return value to the return
destination. separated from localjump_destination().
* eval.c (break_jump): break innermost loop (or thread or proc).
* eval.c (rb_yield_0): set exit_value for block break.
* eval.c (eval): Only print backtrace if generating the backtrace
doesn't generate an exception. [ruby-core:02621]
20 lines of code changed in:
* struct.c (rb_struct_s_def): Struct::new executes block with
generated struct class. [ruby-talk:02606]
* io.c (rb_io_ungetc): raise IOError instead of calling
rb_sys_fail(). [ruby-talk:23181]
371 lines of code changed in:
2004-03-10
3 lines of code changed in:
* ruby.c (opt_W_getter): get rid of warning.
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
fixed dependency.
40 lines of code changed in:
2004-03-09
3 lines of code changed in:
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
replaced regex.c entry with Oniguruma files.
88 lines of code changed in:
* Makefile.in: replaced regex.c entry with Oniguruma files.
25 lines of code changed in:
* lib/net/http.rb: HTTPHeader did not initialized correctly.
* lib/net/http.rb (connect): does same debug output.
20 lines of code changed in:
* lib/net/http.rb (add_header): remove warning. [ruby-dev:23170]
5 lines of code changed in:
* dir.c (range): Cancel change for incomplete '['. More discussion
is needed.
8 lines of code changed in:
* lib/uri/common.rb (URI::REGEXP::PATTERN::HOSTPORT): (?:#{PORT})
-> (?::#{PORT}). [ruby-dev:23170]
6 lines of code changed in:
* dir.c (range): treat incomplete '[' as ordinary character (like
has_magic does). fix buffer overrun at incomplete escape like '[\'.
42 lines of code changed in:
* oniguruma.h (ONIG_EXTERN): check __GNUC__ instead of __CYGWIN__.
3 lines of code changed in:
2004-03-08
3 lines of code changed in:
* regparse.c (parse_exp): need to separate initialization for bcc32.
[ruby-dev:23169]
8 lines of code changed in:
* lib/webrick/config.rb (WEBrick::Config::HTTP): rename :RequestHander
to :RequestCallback and add new option :ServerAlias.
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): use
:RequestCallback and warn if :RequestHandler is in server's option.
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should print
error message for WEBrick::HTTPSataus::Error.
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
lookup for hostname from :ServerAlias if the req.host is not match
to :ServerName.
* lib/webrick/httpservlet.rb (WEBrick::HTTPServlet::CGIHandler#do_GET):
use $?.exitstatus and refine log message.
35 lines of code changed in:
* lib/pstore.rb (commit_new): use FileUtils.copy_stream for Cygwin.
[ruby-dev:23157]
11 lines of code changed in:
* Makefile.in (lex.c): use $? instead of $<.
5 lines of code changed in:
* MANIFEST: add lib/net/https.rb.
1 lines of code changed in:
2004-03-07
3 lines of code changed in:
* lib/net/http.rb: HTTPHeader keeps its header fields as an array.
* lib/net/http.rb: new method HTTPHeader#add_header, get_fields.
* lib/net/http.rb: new method HTTPHeader#content_length=.
* lib/net/http.rb: new method HTTPHeader#content_type, main_type, sub_type, type_params, content_type=, set_content_type.
* lib/net/http.rb (HTTPHeader#basic_encode): result of pack(m) may contain multiple LFs.
227 lines of code changed in:
* lib/net/http.rb: new method Net::HTTPRequest#body(=).
* lib/net/http.rb: new method Net::HTTPRequest#body_stream(=).
76 lines of code changed in:
* lib/net/http.rb: spin off https code again.
* lib/net/https.rb: new file.
* ext/openssl/lib/net/https.rb: removed. moved to net/https with modifications.
* ext/openssl/lib/net/protocol.rb: removed. merged with net/http.
* lib/net/protocol.rb: new class BufferedIO.
* lib/net/protocol.rb: InternetMessageIO < BufferedIO.
* lib/net/protocol.rb: BufferedIO.new takes an IO.
* lib/net/smtp.rb: follow InternetMessageIO's change.
* lib/net/pop.rb: ditto.
371 lines of code changed in:
* lib/net/protocol.rb: remove method: InternetMessageIO#address, port, ip_address, read_timeout(=), socket.
* lib/net/protocol.rb: simplify code.
* lib/net/protocol.rb: apply latest coding style.
83 lines of code changed in:
* ext/strscan/strscan.c (strscan_init_copy): struct re_registers must
not be bitwise copied.
11 lines of code changed in:
* ext/strscan/depend: depends on re.h and regex.h.
* ext/strscan/strscan.c: no version check needed.
9 lines of code changed in:
scanf.rb
4 lines of code changed in:
refixed the previous fix in IO#block_scanf
2 lines of code changed in:
lib/scanf.rb
6 lines of code changed in:
Fixed a logic glitch in IO#block_scanf
2 lines of code changed in:
* configure.in (PREP): ./miniruby and miniruby are distinguished by
OpenBSD make. [ruby-dev:23148]
1 lines of code changed in:
adjust white spaces.
10 lines of code changed in:
* lib/net/http.rb: net/https is merged.
* ext/openssl/lib/net/https.rb: ditto.
99 lines of code changed in:
2004-03-06
3 lines of code changed in:
* oniggnu.h: imported from Oniguruma library.
* oniguruma.h: ditto.
* regcomp.c: ditto.
* regenc.c: ditto.
* regenc.h: ditto.
* regerror.c: ditto.
* regex.c: ditto.
* regexec.c: ditto.
* reggnu.c: ditto.
* regint.h: ditto.
* regparse.c: ditto.
* regparse.h: ditto.
* ascii.c: ditto.
* euc_jp.c: ditto.
* sjis.c: ditto.
* utf8.c: ditto.
* MANIFEST: added Oniguruma files listed above.
* LEGAL: added Oniguruma license.
* regex.h: now includes oniggnu.h.
* re.c: applied Oniguruma patch.
107 lines of code changed in:
Initial revision
17204 lines of code changed in:
* lib/net/http.rb: support WebDAV methods, PROPPATCH, LOCK, UNLOCK, OPTIONS, PROPFIND, DELETE, MOVE, COPY, MKCOL. This patch is contributed by Tatsuki Sugiura.
114 lines of code changed in:
* lib/net/http.rb: Net::HTTPResponse#response is obsolete. [ruby-core:02592]
* lib/net/http.rb: Net::HTTPResponse#header is obsolete.
* lib/net/http.rb: Net::HTTPResponse#read_header is obsolete.
19 lines of code changed in:
* ext/strscan/strscan.c: new method StringScanner#initialize_copy to allow #dup and #clone.
* test/strscan/test_strscan.rb: test StringScanner#dup.
104 lines of code changed in:
* lib/net/http.rb (HTTPResponse#to_ary): should return an object which does not respond to #to_ary. It causes infinite loop in puts. [ruby-core:02578]
11 lines of code changed in:
Move RDoc comments for Test::Unit
263 lines of code changed in:
* Makefile.in, */Makefile.sub, mkconfig.rb: keep rbconfig.rb old if
unchanged.
14 lines of code changed in:
* Makefile.in: miniruby is not needed for cross compile.
* configure.in (PREP): miniruby for native compile.
12 lines of code changed in:
* lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
detach server processes to get rid of zombies.
7 lines of code changed in:
2004-03-04
3 lines of code changed in:
* ext/syck/rubyext.c: get rid of warnings.
* lib/rss/taxonomy.rb: ditto.
* lib/rdoc/ri/ri_formatter.rb: ditto.
* test/ruby/test_assignment.rb: ditto.
192 lines of code changed in:
* lib/rdoc/ri/ri_display.rb (DefaultDisplay::page): wait until the
pager terminates.
10 lines of code changed in:
* lib/rdoc/ri/ri_display.rb (DefaultDisplay::setup_pager): ensure
pager closes and stdout is restored.
13 lines of code changed in:
* eval.c (method_hash): new method. [ruby-talk:93968]
* eval.c (proc_eq): do not compare dyna_vars.
* eval.c (proc_hash): new method.
* eval.c (rb_yield_0): protect break/return from within orphan (or
lambda) Proc object.
* parse.y (yylex): should not allow symbol for invalid global
variable (e.g. `:$-)`). [ruby-core:02518]
125 lines of code changed in:
2004-03-03
3 lines of code changed in:
* lib/mkmf.rb ($topdir): use compile_dir only when not installed yet.
[ruby-talk:94098]
9 lines of code changed in:
* lib/rss/converter.rb: handled Uconv::Error.
* lib/rss/dublincore.rb: DublincoreModel -> DublinCoreModel
42 lines of code changed in:
scanf.rb
9 lines of code changed in:
* soak_up_spaces only ungetc's non-space last character
* IO#block_scanf now returns partial last iteration
array if format string matches partly
7 lines of code changed in:
Fixed to work with Ruby test suite (patch from Nobu)
56 lines of code changed in:
* io.c (pipe_open): erred program name should be reported by
exceptions, instead of the first argument.
* process.c (rb_spawn): ditto.
* process.c (proc_spawn_v): use first argument as program name.
* win32/win32.c (rb_w32_aspawn): ditto.
* win32/win32.c (CreateChild): search executable file if no program
name given.
* lib/drb/extservm.rb (invoke_service_command): use Process.spawn.
[ruby-dev:23103]
* lib/rdoc/ri/ri_display.rb (setup_pager): use IO.popen.
[ruby-dev:23086], [ruby-dev:23103]
* lib/rdoc/diagram.rb (convert_to_png): ditto.
* lib/rdoc/generators/chm_generator.rb (compile_project): ditto.
79 lines of code changed in:
* wince/Makefile.sub (config.h): shouldn't check defined? NORETURN.
[ruby-dev:23100]
3 lines of code changed in:
2004-03-02
3 lines of code changed in:
* win32/Makefile.sub (config.h): shouldn't check defined? NORETURN.
[ruby-dev:23100]
* ChangeLog: typo.
8 lines of code changed in:
* test/ruby/test_iterator.rb (test_ljump): cannot use
assert_nothing_raised due to passing block.
18 lines of code changed in:
scanf.rb fix
4 lines of code changed in:
Fixed Kernel#scanf to propagate code block
2 lines of code changed in:
MANIFEST: added these files:
U test/scanf/data.txt
U test/scanf/test_scanf.rb
U test/scanf/test_scanfblocks.rb
U test/scanf/test_scanfio.rb
4 lines of code changed in:
scanf.rb note
5 lines of code changed in:
Partial fix so STDIN#scanf works with new STDIN#pos behavior
6 lines of code changed in:
First commit of scanf test files
422 lines of code changed in:
Fix ChangeLog
2 lines of code changed in:
* bcc32/setup.mak: configure's default is "--enable-install-doc"
* win32/setup.mak: ditto.
8 lines of code changed in:
2004-03-01
4 lines of code changed in:
Allow aliases to have parentheses
9 lines of code changed in: