summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2002-12-20* ext/extmk.rb.in: get rid of --no-undefined option in $DLDFLAGS.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-13* ext/dbm/extconf.rb (db_check): support for GNU dbm 1.8.3.eban
backported from 1.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-13* ext/dbm/extconf.rb: backported from 1.7.eban
* ext/dbm/dbm.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-11* ext/extmk.rb.in (create_makefile): -no-undefined -> --no-undefined.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-27* ext/syslog/syslog.c: Cut redundancy.knu
* ext/syslog/syslog.c: Do not leak ident. * ext/syslog/syslog.c, ext/syslog/test.rb: Syslog.close should raise RuntimeError when not opened. * ext/syslog/syslog.c, ext/syslog/test.rb: Syslog.{ident,options,facility,mask} should all return nil when not opened. * ext/syslog/syslog.c, ext/syslog/test.rb: Change back the output format of inspect(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-27* ext/digest/test.rb: Switch from RUnit to Test::Unit.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-27* ext/syslog/syslog.c: Fix a problem where Syslog#ident was notknu
marked and could thus be GC'd. * ext/syslog/test.rb: Switch from RUnit to Test::Unit. * ext/syslog/test.rb: The output format of inspect() is slightly altered. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-09* ext/tcltklib/stubs.c: should include "util.h" for ruby_strdup.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-26* array.c, class.c, eval.c, file.c, gc.c, node.h, numeric.c,knu
object.c, parse.y, range.c, re.c, string.c, struct.c, util.c, ext/socket/socket.c: merge from 1.7: treat long values as long instead of int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-25* ext/dbm/dbm.c (fdbm_indexes, fdbm_select): add a missingknu
argument and prevent coredump when a nonexistent key is specified. * ext/sdbm/init.c (fsdbm_indexes, fsdbm_select): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-10* ext/tcltklib/stubs.c (ruby_tcltk_stubs): fix memory leak.eban
[ruby-dev:18478] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-04* configure.in (RUBY_PROG_GNU_LD): check whether the linker is GNU ld.eban
* ext/extmk.rb.in (create_makefile): add -Wl,-no-undefined to $DLDFLAGS on Linux if GNU ld is used and --enable-shared is specified. * configure.in (RUBY_MINGW32): backport from 1.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-03* ext/tcltklib/tcltklib.c (invoke_queue_handler): make singletonnobu
method object to run handler in separated safe level. * ext/tcltklib/tcltklib.c (ip_invoke): requires command name argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-01 * ext/socket/socket.c (sock_new): duplicate underlying socketnobu
handle not only descriptor. [ruby-talk:40015] * ext/socket/socket.c (bsock_close_read, bsock_close_write): not use myfdclose(). * win32/win32.c, win32/win32.h (myfddup, myfdclose): delete. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-10-01* regex.c (re_match): p1 may exceed pend limit.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-27Update.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-25* eval.c (ruby_run): should set toplevel visibility again here.matz
* eval.c (rb_eval): should not rely on ruby_class == rb_cObject check. Besides allow implicit publicity for attribute set methods. * parse.y (primary): need not to check class_nest, just set whether method is an attrset or not. * string.c (rb_str_each_line): p might be at the top of the string. * variable.c (rb_path2class): should not use rb_eval_string(). * parse.y (str_extend): expression substitution can contain string terminator again. * parse.y (yylex): the warning message "invalid character syntax" was never issued. * file.c (rb_find_file): $LOAD_PATH must not be empty. * file.c (rb_find_file_ext): ditto. * range.c (range_eq): class check should be based on range.class, instead of Range to work with Range.dup. * range.c (range_eql): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-08* dir.c (rb_glob): add prototype of 2nd argument to avoid VC++ warning.usa
* dir.c (push_pattern): add const directive to 1st argument. * dir.c: prototype; push_pattern() to avoid VC++ warning. * ext/tcltklib/tcltklib.c: prototype; _timer_for_tcl() and ip_ruby() to avoid VC++ warning. * win32/win32.c (win32_stat): remove S_IWGRP and S_IWOTH bits from st_mode. * win32/win32.h (S_I*): define if not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-19* array.c (sort_2): *a - *b may overflow.matz
* array.c (rb_ary_new2): len*sizeof(VALUE) may be a positive value. * array.c (rb_ary_initialize): ditto. * re.c (rb_reg_initialize): should not modify frozen Regexp. * bignum.c (rb_uint2big): there should be no zero sized bignum. * ext/extmk.rb.in: extmake() that works properly for both tkutil (tk/tkutil.so) and digest/sha1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-12* hash.c (rb_hash_equal): should check default values.matz
* ext/socket/socket.c (s_recvfrom): update RSTRING len. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-08-01* ext/socket/socket.c (s_recvfrom): update RSTRING len.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-30* ext/tcltklib/stubs.c (ruby_tcltk_stubs): win32_getenv returnseban
the same address always, so allocate string by ruby_strdup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-20* ext/readline/readline.c (readline_readline): get rid ofnobu
libreadline's bug. (ruby-bugs-ja:PR#268) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-19* ext/extmk.rb, lib/mkmf.rb (xsystem): open the log file if xsystem is called.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11* eval.c (rb_eval): ruby_frame->last_func may be null, if it'smatz
called outside of a method. * parse.y (arg): use INT2NUM, not INT2FIX for tUMINUS. * parse.y (arg): $1 may be null for tPOW. * parse.y (stmt,arg): too much void value check. * parse.y (arg): need to check void value on rules which does not use node_assign(). * ext/socket/socket.c (ipaddr): need not to taint hostnames. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-04* string.c (rb_str_aset): should raise error if an indexing stringmatz
is not found in the receiver. * sprintf.c (rb_f_sprintf): "%d" should convert objects into integers using Integer(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-04backport miss.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-03* ext/socket/addrinfo.h: typo.nobu
* ext/socket/getaddrinfo.c (gai_strerror): get rid of warning. * ext/socket/socket.c (init_inetsock): ensures resources are freed at exceptions. * ext/socket/socket.c (init_unixsock): ditto. * ext/socket/socket.c (udp_connect): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-05-02* ext/extmk.rb.in, lib/mkmf.rb: use 'do...end' instead of '{}' for Borland make.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-23* ext/extmk.rb.in (create_makefile): use `{$(srcdir)}' directive insteadusa
of `$(srcdir)/' when including depend file. * lib/mkmf.rb (create_makefile): add `{$(srcdir)}' when including depend file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-21* ext/socket/extconf.rb: typo fix(#endif -> #else).eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-19* ext/socket/extconf.rb: include <windows.h>, <winsock.h> on _WIN32.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-10* variable.c (rb_obj_remove_instance_variable): raise NameError ifmatz
specified instance variable is not defined. * variable.c (generic_ivar_remove): modified to check ivar existence. * class.c (rb_singleton_class): wrong condition; was creating unnecessary singleton class. * numeric.c (int_step): step may be a float less than 1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02* ext/extmk.rb.in (enable_config): follow lib/mkmf.rb.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26* ext/extmk.rb.in (arg_config): should use Shellwords::shellwords.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25* ext/extmk.rb.in (arg_config): get rid of single quotes for autoconf 2.53.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25* ext/socket/socket.c (bsock_do_not_rev_lookup_set): should not bematz
allowed when $SAFE > 3. * dir.c (fnmatch): "*/bar" (with FNM_PATHNAME flag) does not match "foo/bar". * io.c (read_all): files on /proc filesystem with zero stat size, may have contents. * eval.c (exec_under): changing ruby_class is OK, but should not alter cbase. * eval.c (yield_under_i): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25add depend filesnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25This commit was manufactured by cvs2svn to create branch 'ruby_1_6'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-22Synchronize with reality. Pick actually existent modules and get ridknu
of removed modules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-12* regex.c (re_compile_pattern): '\0111' should be '\011' plus '1',matz
since octal literals are formed by three digits at most. * eval.c (rb_eval_cmd): cbase should not be NULL; it should be either ruby_wrapper or Object. * enum.c (enum_each_with_index): should return self. * process.c (proc_setpgrp): should return value for non-void function. * process.c (proc_getpgid): should raise exception if getpgid() return -1. * string.c (rb_str_ljust): should return a duplicated string. * string.c (rb_str_rjust): ditto. * string.c (rb_str_center): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-08* eval.c (cvar_cbase): utility function to find innermost nonmatz
singleton cbase. * eval.c (is_defined): adopt new cvar behavior. * eval.c (rb_eval): ditto. * eval.c (assign): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-04* ext/extmk.rb.in (create_makefile): remove unnecessary -L option fromusa
LIBS macro. * ext/extmk.rb.in (extmake): default $LIBPATH to $libdir. * win32/win32.c (NtCmdGlob): avoid VC++ warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-04* ext/extmk.rb.in (dir_config): Sync with mkmf.rb: Fix a bug whereknu
--with-xx-{include,lib} is ignored when --with-xx-dir is specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-04Make cvs ignore mkmf.log.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-01* stable version 1.6.7 released.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-01* ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): add consteban
qualifier only for uClibc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-28* st.c (st_init_table_with_size): num_bins should be prime numbersmatz
(no decrement). * st.c (rehash): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-27* io.c (READ_DATA_PENDING): uClibc support.eban
* random.c (rand_init): ditto. * ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-26* ext/digest/sha2/sha2.c: Merge from rough. Fix a couple ofknu
off-by-one errors in Aaron Gifford's code. Obtained from: KAME via FreeBSD KAME PR: 393 FreeBSD PR: kern/34242 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e