* marshal.c (Init_marshal): fix typos.
6 lines of code changed in:
* process.c (last_status_set): nothing returned, should be void.
* ext/socket/socket.c (load_addr_info): ditto.
16 lines of code changed in:
* marshal.c (Init_marshal): new constant Marshal::MAJOR_VERSION
and Marshal::MINOR_VERSION.
* marshal.c (marshal_load): ruby_verbose test should be wrapped by
RTEST().
* hash.c (rb_hash_index): should return nil (not the default
value) if value is not in the hash.
* numeric.c (num_div): new method added. alias to '/' which
should be preserved even if '/' is redefined (e.g. by
mathn). [new]
* bignum.c (rb_cstr2inum): "0 ff".hex should return 0, not 255.
* file.c (rb_file_s_expand_path): fixed using CharNext().
73 lines of code changed in:
* file.c (rb_file_s_expand_path): scans per path element not per
byte/character, including fix of [ruby-talk:18152] and
multi-byte pathname support.
55 lines of code changed in:
* lib/net/imap.rb: added new commands for managing folder quotas
and folder ACLs.
84 lines of code changed in:
* eval.c (rb_provided): extension should be guessed using
rb_find_file_noext().
* eval.c (rb_f_require): should call rb_feature_p() after
extension completion.
* eval.c (rb_eval): add CHECK_INTS before next, redo, retry to
avoid potential uninterruptable infinite loop.
* file.c (rb_file_s_expand_path): use CharNext() to expand.
69 lines of code changed in:
2001-07-26
2 lines of code changed in:
* file.c (rb_find_file_noext, rb_find_file): fix tilde expansion
problem.
10 lines of code changed in:
Fix a bogon in my last commit..
1 lines of code changed in:
* intern.h: add some missing function prototypes.
9 lines of code changed in:
* file.c (strrdirsep): multi-byte pathname and DOSish separater
supprot. originally comes from Patrick Cheng. [new]
* file.c (rb_file_s_basename, rb_file_s_dirname): use
strrdirsep(). comes from Patrick Cheng.
* file.c (is_absolute_path): restricted in DOSish absolute path
with drive letter, and UNC support. originally comes from
Patrick Cheng.
* file.c (getcwd): define macro using getwd() unless provided.
54 lines of code changed in:
* ext/extmk.rb.in, lib/mkmf.rb: dig the target subdirectory for
lib/* files properly in case of create_makefile("dir/name").
15 lines of code changed in:
Update.
12 lines of code changed in:
* eval.c (rb_provide_feature): should not tweak extension used for
loading.
* io.c (io_fread): use fread(3) if PENDING_COUND is available.
* class.c (rb_mod_include_p): Module#include? added. [new]
* re.c (ignorecase_setter): give warning on modifying $=.
* string.c (rb_str_casecmp): new method. [new]
* string.c (rb_str_eql): separated from rb_str_equal(), make it
always be case sensitive. [new]
* string.c (rb_str_hash): made it always be case sensitive.
* eval.c (rb_f_require): should not include path in $" value
* file.c (rb_find_file): should return 0 explicitly on failure.
150 lines of code changed in:
* ext/extmk.rb.in, lib/mkmf.rb: introduce a couple of new make
variables: CLEANFILES and DISTCLEANFILES. They'd typically be
defined in a file "depend".
10 lines of code changed in:
* gc.c (ruby_xrealloc): fix a dangling bug which led memory
reallocation to fail even though the second try after a GC
succeeds.
8 lines of code changed in:
Update.
39 lines of code changed in:
Rename *.jp to *.ja, since jp is a region code and ja is a language
code.
2642 lines of code changed in:
* ruby.h: enable volatile directive with VC++.
* regex.c: ditto.
9 lines of code changed in:
sync MANIFEST (add doc/net/http,pop,smtp).
3 lines of code changed in:
date-time was wrong.
1 lines of code changed in:
add doc/net/http.rd.ja pop.rd.ja smtp.rd.ja
102 lines of code changed in:
* regex.c (NUM_FAILURE_ITEMS): was confusing NUM_REG_ITEMS and
NUM_NONREG_ITEMS, which have happened to be same value.
* class.c (rb_class_new): subclass check moved to this function.
* class.c (rb_class_boot): check less version of rb_class_new().
* eval.c (proc_invoke): should preserve iter status for embedded
frame in the block.
* file.c (rb_file_s_expand_path): may overrun buffer on stack.
* string.c (rb_str_insert): forgot to call rb_str_modify().
71 lines of code changed in:
modify check-in miss.
1 lines of code changed in:
* ext/extmk.rb.in: modify RM macro because command.com/cmd.exe don't
recognize single quotation as quote character.
* lib/mkmf.rb: ditto.
9 lines of code changed in:
* file.c (file_load_ok): fix typo.
13 lines of code changed in:
* regex.c (re_search): should consider reverse search.
* dir.c (dir_s_chdir): warn only when invoked from multiple
threads or block is not given.
* object.c (rb_convert_type): should use rb_rescue(), not rb_rescue2().
* range.c (range_init): ditto.
* object.c (rb_obj_dup): should free generic_ivar if original owns
them.
* string.c (rb_str_each_line): should propagate taint mark.
* ext/nkf/nkf.c (rb_nkf_kconv): ditto.
* eval.c (rb_f_require): revamp for simpler implementation.
* file.c (rb_find_file_noext): use String object, instead of
passing char* around.
* file.c (rb_find_file): ditto.
* dln.c (dln_load): should use NSLINKMODULE_OPTION_BINDNOW.
* ruby.c (load_file): local variables 'c' remain uninitialized on
xflag.
* regex.c (re_match): prefetched escaped character too early.
* eval.c (rb_call0): add argument check for attr_readers.
959 lines of code changed in:
* ext/digest/*/extconf.rb: fix so that they build from any
directory.
9 lines of code changed in:
aamine
* lib/net/http.rb: HTTP#proxy? did not worked.
7 lines of code changed in:
Import the "digest" module and the submodules, from the Rough Ruby
project.
ext/digest:
This module provides the module Digest and the abstract class
Digest::Base.
ext/digest/md5 (which obsoletes ext/md5):
This module provides the class Digest::MD5 which implements the
MD5 Message-Digest Algorithm.
ext/digest/rmd160:
This module provides the class Digest::RMD160 which implements the
RIPEMD-160 cryptographic hash function.
ext/digest/sha1 (which obsoletes ext/sha1):
This module provides the class Digest::SHA1 which implements the
SHA-1 Secure Hash Algorithm.
ext/digest/sha2:
This module provides the classes Digest::SHA256, Digest::SHA384
and Digest::SHA512 which implement the SHA-256, SHA-384 and
SHA-512 Secure Hash Algorithms, respectively.
lib/md5.rb, lib/sha1.rb:
These files are provided for backward compatibility.
All these classes have the common API, which previously ext/md5 and
ext/sha1 modules provided. While the new API keeps 100% backward
compatibility, it has been enriched with several utility methods.
Read digest.txt for further details.
3151 lines of code changed in:
* ext/extmk.rb.in: support multi-level ext/ directories.
(e.g. you can have ext/foo, ext/foo/bar and ext/foo/baz)
* ext/.cvsignore: let cvs ignore extinit.c.
23 lines of code changed in:
Substitute "licence" with "license".
2 lines of code changed in:
Mention ext/nkf/nkf1.7/nkf.c.
13 lines of code changed in:
* lib/mkmf.rb: use File::split to split a target into a prefix and
a module name. This also works around a just found bug of
String#rindex.
* ext/extmk.rb.in: ditto.
14 lines of code changed in:
Mention config.guess, config.sub, configure, parse.c and
lib/getoptlong.rb.
58 lines of code changed in:
Detypo.
1 lines of code changed in:
Mention ext/socket/{addrinfo.h,getaddrinfo.c,getnameinfo.c}.
[Noted by: usa]
33 lines of code changed in:
Add LEGAL.
1 lines of code changed in:
Mention util.c.
1 lines of code changed in:
Point to the newly added file LEGAL.
5 lines of code changed in:
Add LEGAL, legal notice information.
171 lines of code changed in:
2001-07-12
2 lines of code changed in:
Let cvs ignore extmk.log.
1 lines of code changed in:
Let cvs ignore libruby.so.*.
1 lines of code changed in:
* ext/socket/socket.c (ruby_connect): workaround for the setup of
Cygwin socket(EALREADY).
20 lines of code changed in:
* It is confusing to put the GPL license terms in the file COPYING;
Rename the files COPYING and COPYING.LIB to GPL and LGPL, respectively.
* While I am here, update the LGPL with the "Lesser" one.
* Move the "copying" sections of the files README and README.jp to
COPYING and COPYING.jp, respectively.
907 lines of code changed in:
Oops.
1 lines of code changed in:
Correct the FTP site's URL.
2 lines of code changed in:
* lib/mkmf.rb: modify RM macro.
5 lines of code changed in:
* ext/extmk.rb.in: modify RM macro.
7 lines of code changed in:
* ruby.h: fix a wrong function name: rb_iglob() -> rb_globi().
5 lines of code changed in:
aamine
* lib/net/http.rb: rename HTTP#request_by_name to send_request.
* lib/net/protocol.rb (ProtoSocket#read): modify typo.
67 lines of code changed in:
* lib/tempfile.rb: a tempfile must be created with mode 0600.
5 lines of code changed in:
Reflect the previous backport.
0 lines of code changed in:
Detypo and reword a bit.
13 lines of code changed in:
aamine
* lib/net/http.rb (HTTP#request_by_name): arg order changes.
6 lines of code changed in:
aamine
* lib/net/http.rb (HTTP#request_by_name): bug fix.
* lib/net/http.rb: does not write Connection: by default.
* lib/net/protocol.rb: "start" for started protocol is an error.
* lib/net/protocol.rb: "finish" for finished protocol is an error.
29 lines of code changed in:
aamine
* lib/net/http.rb: new method HTTP#request_by_name (test)
* lib/net/http.rb: new class HTTPGenericRequest
152 lines of code changed in:
* lib/mkmf.rb: distclean should remove mkmf.log as well.
5 lines of code changed in:
* eval.c (rb_eval_string_wrap): should push frame (and adjust
cbase) before wrapped eval.
* eval.c (rb_eval_cmd): ditto.
* eval.c (eval): should update ruby_class always after all.
25 lines of code changed in:
credit rb_name_error() fix to Nobuyoshi Nakada.
26 lines of code changed in:
* eval.c (block_pass): do not change wrapper information.
* eval.c (rb_yield_0): preserve wrapper information.
11 lines of code changed in:
* error.c (rb_name_error): raise NameError instead of LoadError.
5 lines of code changed in:
* error.c (exc_exception): clone the receiver exception instead of
creating brand new exception object of the receiver.
* eval.c (rb_eval_string_wrap): extend new ruby_top_self, not
original self.
* eval.c (rb_eval_cmd): respect ruby_wrapper if set.
* eval.c (eval): do not update ruby_class unless scope is not
provided.
* eval.c (eval): preserve wrapper information.
* eval.c (proc_invoke): ditto.
* eval.c (block_pass): ditto.
* parse.y (void_expr): too much warnings for void context
(e.g. foo[1] that can be mere Proc call).
* error.c (rb_name_error): new function to raise NameError with
name attribute set.
* eval.c (rb_f_missing): set name and args in the exception
object. [new]
* error.c (name_name): NameError#name - new method.
* error.c (nometh_args): NoMethodError#args - new method.
* lex.c (rb_reserved_word): lex_state after tRESCUE should be
EXPR_MID.
* gc.c (add_heap): allocation size of the heap unit is doubled for
each allocation.
* dir.c (isdelim): space, tab, and newline are no longer
delimiters for glob patterns.
* eval.c (svalue_to_avalue): new conversion scheme between single
value and array values.
* eval.c (avalue_to_svalue): ditto.
* eval.c (rb_eval): REXPAND now uses avalue_to_svalue(), return
and yield too.
* eval.c (rb_yield_0): use avalue_to_svalue().
* eval.c (proc_invoke): Proc#call gives avaules, whereas
Proc#yield gives mvalues.
* eval.c (bmcall): convert given value (svalue) to avalue.
312 lines of code changed in: