* mkconfig.rb, ext/configsub.rb: VERSION -> RUBY_VERSION.
9 lines of code changed in:
* win32/dir.h: re-add.
24 lines of code changed in:
* configure.in: default --with-libc_r to `no' until the problem is
fixed. (FreeBSD only)
6 lines of code changed in:
* ruby.c (proc_options): unexpected SecurityError happens when -T4.
* regex.c (re_compile_pattern): * \1 .. \9 should be
backreferences always.
* regex.c (re_match): backreferences corresponding to
unclosed/unmatched parentheses should fail always.
* string.c (rb_str_cat): use rb_str_buf_cat() if possible. [new]
* string.c (rb_str_append): ditto.
* string.c (rb_str_buf_cat): remove unnecessary check (type,
taint, modify) to gain performance.
* string.c (rb_str_buf_append): ditto.
* string.c (rb_str_buf_new): buffering string function. [new]
* string.c (rb_str_buf_append): ditto.
* string.c (rb_str_buf_cat): ditto.
* time.c (make_time_t): local time adjustment revised.
920 lines of code changed in:
* ruby.c (proc_options): unexpected SecurityError happens when -T4.
* regex.c (re_compile_pattern): * \1 .. \9 should be
backreferences always.
* regex.c (re_match): backreferences corresponding to
unclosed/unmatched parentheses should fail always.
* string.c (rb_str_cat): use rb_str_buf_cat() if possible. [new]
* string.c (rb_str_append): ditto.
* string.c (rb_str_buf_cat): remove unnecessary check (type,
taint, modify) to gain performance.
* string.c (rb_str_buf_append): ditto.
* string.c (rb_str_buf_finish): removed.
* string.c (rb_str_buf_new): buffering string function. [new]
* string.c (rb_str_buf_append): ditto.
* string.c (rb_str_buf_cat): ditto.
* string.c (rb_str_buf_finish): ditto.
* time.c (make_time_t): local time adjustment revised.
1415 lines of code changed in:
* configure.in: remove unnecessary AC_CANONICAL_BUILD
* defins.h: #define HAVE_SETITIMER on Cygwin(bug fixed).
* ruby.c: use relative path from LIBRUBY_SO.
* ruby.c: don't use -mwin32 option on Cygwin.
* cygwin/GNUmakefile.in: ditto.
* ext/sdbm/_sdbm: ditto.
* ext/tcltklib/extconf.rb: ditto.
* ext/tcltklib/stubs.c: ditto.
43 lines of code changed in:
* ext/extconf.rb.in: make the priority of the make rule of .c higher than .C .
19 lines of code changed in:
2001-05-28
2 lines of code changed in:
* dir.c (glob_helper): teach has_magic() to handle flags and get
glob_helper to properly support FNM_NOESCAPE.
* dir.c (fnmatch): fix a bug when FNM_PATHNAME and FNM_PERIOD are
specified at the same time.
30 lines of code changed in:
Revise more.
11 lines of code changed in:
Sync with reality.
27 lines of code changed in:
Synchronize MANIFEST with reality. Add missing files.
103 lines of code changed in:
* MANIFEST: add win32/dir.h .
5 lines of code changed in:
* mkconfig.rb: typo.
1 lines of code changed in:
* ext/sha1/sha1-ruby.c (sha1_hexdigest): fix buffer overflow. The
buffer for a SHA-1 hexdigest needs to be 41 bytes in length.
6 lines of code changed in:
* MANIFEST: update the entries I forgot to add or remove.
33 lines of code changed in:
Fix the previous ChangeLog entry.
2 lines of code changed in:
* ext/sha1/sha1-ruby.c (md5i_new): separate initialize() from
new().
* ext/md5/md5init.c (sha1_new): ditto.
43 lines of code changed in:
* ext/dbm/extconf.rb: fix support for *BSD and set $CFLAGS
properly.
8 lines of code changed in:
* mkconfig.rb: autoconf 2.50 support.
6 lines of code changed in:
* eval.c (rb_yield_0): need argument adjustment for C defined
blocks too.
218 lines of code changed in:
* eval.c (rb_yield_0): need argument adjustment for C defined
blocks too.
* ext/dbm/extconf.rb: header search added. [new]
28 lines of code changed in:
* variable.c (rb_alias_variable): should not allow variable
aliasing if $SAFE >= 4.
* parse.y (expr): "break" and "next" to take optional expression,
which is used as a value for termination. [new, experimental]
* eval.c (rb_eval): "break" can give value to terminating method.
* eval.c (rb_eval): "break" and "next" to take optional expression.
* eval.c (rb_yield_0): "next" can give value to terminating "yield".
* eval.c (rb_iterate): "break" can give value to terminating method.
* eval.c (proc_call): ditto.
88 lines of code changed in:
* bignum.c (rb_big2str): t should be protected from GC.
* process.c (rb_proc_times): need not to check retrun value from
times(2).
34 lines of code changed in:
* ext/extmk.rb.in (xsystem): backout the previous fix which was
bogus.
5 lines of code changed in:
* lib/mkmf.rb (xsystem): make a temporary fix to get $(...) macros
properly expanded on a command execution.
* ext/extmk.rb.in (xsystem): ditto.
9 lines of code changed in:
* lib/mkmf.rb: unbreak "make install". lib/* must be installed
under $rubylibdir, not under $libdir.
7 lines of code changed in:
* ext/sha1/sha1-ruby.c (sha1_new): get rid of an unneeded
rb_obj_call_init() call.
5 lines of code changed in:
* ext/sha1/sha1.txt, ext/sha1/sha1.txt.jp: fix typos.
7 lines of code changed in:
Adjust indents and blank lines.
58 lines of code changed in:
* lib/shell.rb, lib/shell/process-controller.rb,
lib/shell/command-processor.rb: translate Japanese comments into
English.
30 lines of code changed in:
Yay, shell.rb is back!
273 lines of code changed in:
* doc/shell.rd.jp: RD'ify and make some fixes.
* doc/shell.rd: RD'ify, delete Japanese leftovers, make overall
English fixes, and sync with doc/shell.rd.jp.
484 lines of code changed in:
Initial revision
1785 lines of code changed in:
* eval.c (rb_call0): address of local_vars might change during eval.
31 lines of code changed in:
Add .cvsignore to let CVS ignore Makefile which is automatically
generated.
0 lines of code changed in:
* ext/sha1/MANIFEST: Added.
0 lines of code changed in:
Add a missed ChangeLog entry.
Tue May 8 18:28:19 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
* lib/irb.rb lib/irb/multi-irb.rb lib/irb/ruby-lex.rb
lib/irb/version.rb resolve ctrl-c problem
5 lines of code changed in:
* ext/md5/md5.txt.jp, ext/sha1/sha1.txt.jp: s/SuperClass/Superclass/.
7 lines of code changed in:
* ext/Setup.dj, ext/Setup.emx, ext/Setup.nt, ext/Setup.x68:
compile sha1 in as well as md5.
* ext/Setup: put sha1 in a comment.
12 lines of code changed in:
* ext/sha1/sha1.txt.jp: add the Japanese version derived from
ext/md5/md5.txt.jp.
* ext/sha1/sha1.txt: revise the copyright info and reduce the
difference from ext/md5/md5.txt.
* ext/md5/md5.txt: reduce the difference from ext/sha1/sha1.txt.
36 lines of code changed in:
* ext/sha1/extconf.rb, ext/sha1/sha1.c: use WORDS_BIGENDIAN to
detect the platform's endian.
8 lines of code changed in:
Initial revision
40 lines of code changed in:
* ext/md5/md5.txt: make wording fixes, and mention the newly added
method: "<<".
* ext/md5/md5.txt.jp: ditto.
24 lines of code changed in:
(This is a forced commit to put the log entry for the previous commit)
* ext/md5/md5init.c: add an instance method "<<" as an alias for
"update". (inspired by Steve Coltrin's ruby-sha1)
0 lines of code changed in:
Add a missed entry.
* ext/md5/md5init.c: add an instance method "<<" as an alias for
"update". (inspired by Steve Coltrin's ruby-sha1)
5 lines of code changed in:
* array.c (rb_ary_and): should not push frozen key string.
* array.c (rb_ary_or): ditto.
* eval.c (rb_thread_schedule): should save context before raising
deadlock, saved context for current thread might be obsolete.
* time.c (make_time_t): non DST timezone shift supported (hopefully).
* time.c (make_time_t): strict range detection for negative time_t.
* signal.c: SIGINFO added.
* eval.c (rb_ensure): should not SEGV when prot_tag is NULL.
139 lines of code changed in:
* win32/resource.rb: Modify copyright in resource script.
5 lines of code changed in:
* win32/win32.c (kill): add support of signal 9 on mswin32/mingw32.
31 lines of code changed in:
Put some missed entries to the ChangeLog.
38 lines of code changed in:
* ruby.h (rb_string_value): add volatile to avoid compiler warning.
* string.c (rb_string_value): ditto.
8 lines of code changed in:
* bignum.c (bigdivrem): access boundary bug.
* marshal.c (w_object): prohibit dumping out singleton classes.
* object.c (rb_mod_to_s): distinguish singleton classes.
* variable.c (rb_class2name): it's ok to reveal NilClass,
TrueClass, FalseClass.
* eval.c (rb_yield_0): preserve and restore ruby_cref as well.
* eval.c (is_defined): core dumped during instance_eval for
special constants.
* eval.c (rb_eval): ditto.
133 lines of code changed in:
* Document find_library(), with_config() and dir_config().
20 lines of code changed in:
* Remove the description of find_header() because such a function does
not actually exist.
* Update the description of dir_config().
9 lines of code changed in:
Fix CVS access and mailing lists info.
10 lines of code changed in:
*** empty log message ***
61 lines of code changed in:
Hit `=begin' and `=end' in proper places so rd2 can format them
without a problem.
10 lines of code changed in:
Initial revision
178 lines of code changed in:
Convert from JIS to EUC.
216 lines of code changed in:
Obsoleted by IRB.
0 lines of code changed in:
* ext/dbm/extconf.rb: fix for FreeBSD and GDBM.
8 lines of code changed in:
* parse.y (arg): "||=" should not warn for uninitialized instance
variables.
* eval.c (rb_eval): ditto.
* eval.c (eval): preserve and restore ruby_cref as well.
71 lines of code changed in:
* lib/ftools.rb (syscopy): chmod destination file only if
it does not exist.
9 lines of code changed in:
rb_eGDBMFatalErrors -> rb_eGDBMFatalError
2 lines of code changed in:
forgot some checkins.
452 lines of code changed in:
Get rid of Japanese comments and fix English comments as appropriate.
13 lines of code changed in:
I'm committing this from a MacOS X host. :)
* configure.in: get --enable-shared to work on MacOS X.
* Makefile.in: make $(LIBRUBY_SO) depend on miniruby properly.
Now `make -jN' should work without a problem.
15 lines of code changed in:
* win32/config.h.in: add SIZEOF___INT64 definition.
5 lines of code changed in:
* dir.c (rb_glob, rb_globi): remove unnecessary FNM_PATHNAME.
6 lines of code changed in:
* eval.c (block_pass): should not downgrade safe level.
* ext/dbm/extconf.rb: allow specifying dbm-type explicitly.
* ext/dbm/extconf.rb: avoid gdbm if possible, because it leaks
memory, whereas gdbm.so doesn't. potential incompatibility.
* string.c (rb_str_insert): new method.
* parse.y (yylex): lex_state after RESCUE_MOD should be EXPR_BEG.
* array.c (rb_ary_insert): new method.
* array.c (rb_ary_update): new utility function.
* io.c (set_outfile): should check if closed before assignment.
* eval.c (rb_eval): should preserve value of ruby_errinfo.
* eval.c (rb_thread_schedule): infinite sleep should not cause
dead lock.
* array.c (rb_ary_flatten_bang): proper recursive detection.
* eval.c (yield_under): need not to prohibit at safe level 4.
* pack.c (pack_pack): p/P packs nil into NULL.
* pack.c (pack_unpack): p/P unpacks NULL into nil.
* pack.c (pack_pack): size check for P template.
* ruby.c (set_arg0): wrong predicate when new $0 value is bigger
than original space.
* gc.c (id2ref): should use NUM2ULONG()
* object.c (rb_mod_const_get): check whether name is a class
variable name.
* object.c (rb_mod_const_set): ditto.
* object.c (rb_mod_const_defined): ditto.
* marshal.c (w_float): precision changed to "%.16g"
* eval.c (rb_call0): wrong retry behavior.
* numeric.c (fix_aref): a bug on long>int architecture.
* eval.c (rb_eval_string_wrap): should restore ruby_wrapper.
* regex.c (re_compile_pattern): char class at either edge of range
should be invalid.
* eval.c (handle_rescue): use === to compare exception match.
* error.c (syserr_eqq): comparison between SytemCallErrors should
based on their error numbers.
* eval.c (safe_getter): should use INT2NUM().
* bignum.c (rb_big2long): 2**31 cannot fit in 31 bit long.
* regex.c (calculate_must_string): wrong length calculation.
* eval.c (rb_thread_start_0): fixed memory leak.
* parse.y (none): should clear cmdarg_stack too.
* io.c (rb_fopen): use setvbuf() to avoid recursive malloc() on
some platforms.
* file.c (rb_stat_dev): device functions should honor stat field
types (except long long such as dev_t).
* eval.c (rb_mod_nesting): should not push nil for nesting array.
* eval.c (rb_mod_s_constants): should not search array by
rb_mod_const_at() for nil (happens for singleton class).
* class.c (rb_singleton_class_attached): should modify iv_tbl by
itself, no longer use rb_iv_set() to avoid freeze check error.
* variable.c (rb_const_get): error message "uninitialized constant
Foo at Bar::Baz" instead of "uninitialized constantBar::Baz::Foo".
* eval.c (rb_mod_included): new hook called from rb_mod_include().
* io.c (opt_i_set): should strdup() inplace_edit string.
* eval.c (exec_under): need to push cref too.
* eval.c (rb_f_missing): raise NameError for "undefined local
variable or method".
* error.c (Init_Exception): new exception NoMethodError.
NameError moved under ScriptError again.
* eval.c (rb_f_missing): use NoMethodError instead of NameError.
* file.c (Init_File): should redifine "new" class method.
* eval.c (PUSH_CREF): sharing cref node was problematic. maintain
runtime cref list instead.
* eval.c (rb_eval): copy defn node before registering.
* eval.c (rb_load): clear ruby_cref before loading.
* variable.c (rb_const_get): no recursion to show full class path
for modules.
* eval.c (rb_set_safe_level): should set safe level in curr_thread
as well.
* eval.c (safe_setter): ditto.
* object.c (rb_obj_is_instance_of): nil belongs to false, not true.
* time.c (make_time_t): proper (I hope) daylight saving time
handling for both US and Europe. I HATE DST!
* eval.c (rb_thread_wait_for): non blocked signal interrupt should
stop the interval.
* eval.c (proc_eq): class check aded.
* eval.c (proc_eq): typo fixed ("return" was ommitted).
* error.c (Init_Exception): move NameError under StandardError.
* class.c (rb_mod_clone): should copy method bodies too.
* bignum.c (bigdivrem): should trim trailing zero bdigits of
remainder, even if dd == 0.
* file.c (check3rdbyte): safe string check moved here.
* time.c (make_time_t): remove HAVE_TM_ZONE code since it
sometimes reports wrong time.
* time.c (make_time_t): remove unnecessary range check for
platforms where negative time_t is available.
* process.c (proc_waitall): should push Process::Status instead of
Finuxm status.
* process.c (waitall_each): should add all entries in pid_tbl.
these changes are inspired by Koji Arai. Thanks.
* process.c (proc_wait): should not iterate if pid_tbl is 0.
* process.c (proc_waitall): ditto.
* numeric.c (flodivmod): a bug in no fmod case.
* process.c (pst_wifsignaled): should apply WIFSIGNALED for status
(int), not st (VALUE).
* io.c (Init_IO): value of $/ and $\ are no longer restricted to
strings. type checks are done on demand.
* class.c (rb_include_module): module inclusion should be check
taints.
* ruby.h (STR2CSTR): replace to StringType() and StringTypePtr().
* ruby.h (rb_str2cstr): ditto.
* eval.c (rb_load): should not copy topleve local variables. It
cause variable/method ambiguity. Thanks to L. Peter Deutsch.
* class.c (rb_include_module): freeze check at first.
* eval.c (rb_attr): sprintf() and rb_intern() moved into
conditional body.
1711 lines of code changed in: