* dln.c (dln_load): fix typo.
3 lines of code changed in:
* ext/socket/extconf.rb (have_struct_member): new method.
check msg_control and msg_accrights in struct msghdr. check sys/uio.h.
* socket/socket.c: include sys/uio.h if available.
(thread_read_select): new function.
(unix_send_io): ditto.
(unix_recv_io): ditto.
(unix_s_socketpair): ditto.
(Init_socket): define UNIXSocket#send_io, UNIXSocket#recv_io,
247 lines of code changed in:
2002-02-28
2 lines of code changed in:
* eval.c (rb_mod_include): load modules in argument order.
* st.c (st_init_table_with_size): num_bins should be prime numbers
(no decrement).
* st.c (rehash): ditto.
397 lines of code changed in:
* ext/dbm/dbm.c (fdbm_select): 1.7 behavior.
* ext/gdbm/gdbm.c (fgdbm_select): ditto.
* ext/sdbm/sdbm.c (fsdbm_select): ditto.
* ext/dbm/dbm.c (fdbm_delete): adopt Hash#delete behavior.
* ext/sdbm/sdbm.c (fsdbm_delete): ditto.
* ext/gdbm/gdbm.c: need not to dup key to the block.
* ext/sdbm/sdbm.c : replace RuntimeError with SDBMError.
* eval.c (rb_f_missing): NoMethod error messages for true, false,
nil must respond visibility like for other objects.
398 lines of code changed in:
* io.c (READ_DATA_PENDING): uClibc support.
* random.c (rand_init): ditto.
* ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): ditto.
15 lines of code changed in:
* ext/digest/sha2/sha2.c: Merge from rough. Fix a couple of
off-by-one errors in Aaron Gifford's code.
Obtained from: KAME via FreeBSD
KAME PR: 393
FreeBSD PR: kern/34242
12 lines of code changed in:
2002-02-26
2 lines of code changed in:
* bignum.c (rb_big_2comp): void function cannot return any value.
5 lines of code changed in:
* eval.c (rb_eval): call trace_func for if/while conditions.
* marshal.c (r_object): separate r_regist from proc calling.
56 lines of code changed in:
* lib/uri/generic.rb: merge0 shuld return [oth, oth] if oth is absolute URI.
* lib/uri/generic.rb: registry part must not be allowed for any schemes for the Internet. (RFC2396, section 3.2.2 and 3.2.1.)
22 lines of code changed in:
Corrected mis-indentation. Try diff -w to find that these are the same without
indentation.
694 lines of code changed in:
* ext/syslog/syslog.c: Merge from rough. Use SafeStringValue().
9 lines of code changed in:
* ext/syslog/syslog.c: Merge from rough. Turn Syslog into a
module keeping backward compatibility intact.
136 lines of code changed in:
commit miss.
1 lines of code changed in:
* sample/test.rb (system): test with scripts under the source
directory.
11 lines of code changed in:
2002-02-25
2 lines of code changed in:
* eval.c (method_inspect): should not dump core for unbound
singleton methods.
* object.c (rb_mod_to_s): better description.
* hash.c (env_select): should path the assoc list.
* process.c (rb_syswait): thread kludge; should be fixed to
support native thread.
63 lines of code changed in:
* lib/shell.rb (Shell::expand_path): relative to @cwd.
5 lines of code changed in:
* ext/digest/*/*.h: Merge from rough.
- Avoid namespace pollution. (MD5_* -> rb_Digest_MD5_*, etc.)
5 lines of code changed in:
Merge from rough.
- Avoid namespace pollution. (MD5_* -> rb_Digest_MD5_*, etc.)
64 lines of code changed in:
Refactoring. Added Context#format_frame to format a frame, used by up/down
command and Context#display_frames.
16 lines of code changed in:
modify typo.
1 lines of code changed in:
fix filename.
1 lines of code changed in:
* lib/net/protocol.rb: set read_timeout dynamically.
* lib/net/http.rb: @@newimpl is always true in the main trunk.
* lib/net/http.rb: HTTP.port -> default_port
* lib/net/http.rb: HTTPResponse.read_response_status -> read_status_line
48 lines of code changed in:
2002-02-22
2 lines of code changed in:
* win32/config.status.in: set LIBRUBY_SO.
5 lines of code changed in:
* bignum.c (get2comp): need to specify to carry or not.
* io.c (rb_io_inspect): embed path info.
49 lines of code changed in:
* prettyprint.rb: FillGroup implemented.
188 lines of code changed in:
* ext/extmk.rb.in (create_makefile): remove unnecessary -L option from
LIBS macro.
6 lines of code changed in:
2002-02-21
2 lines of code changed in:
* pack.c (pack_pack): wrong # comment treatment.
* pack.c (pack_unpack): ditto.
16 lines of code changed in:
2002-02-20
2 lines of code changed in:
* intern.h: prototypes; rb_io_addstr(), rb_io_printf(),
rb_io_print(), rb_io_puts()
* io.c (rb_io_addstr): make extern.
* io.c (rb_io_printf): ditto.
* io.c (rb_io_print): ditto.
* io.c (rb_io_puts): ditto.
21 lines of code changed in:
* io.c (rb_io_close): return Qnil.
5 lines of code changed in:
* hash.c (rb_any_cmp): should handle Qundef in keys.
* eval.c (remove_method): should not remove a empty method to
implement "undef".
* eval.c (rb_eval): should allow singleton class def for
true/false/nil.
* parse.y (str_extend): backslash escape was done wrong.
36 lines of code changed in:
Initial revision
19 lines of code changed in:
aamine
* lib/net/protocol.rb: rename Protocol.port to default_port.
* lib/net/smtp.rb: ditto.
* lib/net/pop.rb: ditto.
* lib/net/http.rb: ditto.
* lib/net/protocol.rb: rename BufferedSocket class to InternetMessageIO.
* lib/net/smtp.rb: ditto.
* lib/net/pop.rb: ditto.
* lib/net/http.rb: ditto.
* lib/net/protocol.rb: rename InternetMessageIO#write_pendstr to write_message.
* lib/net/smtp.rb: ditto.
* lib/net/protocol.rb: new method InternetMessageIO#through_message.
* lib/net/smtp.rb: ditto.
* lib/net/protocol.rb: rename InternetMessageIO#read_pendstr to read_message_to.
* lib/net/pop.rb: ditto.
* lib/net/protocol.rb: rename InternetMessageIO#read_pendlist to each_list_item
* lib/net/pop.rb: ditto.
* lib/net/protocol.rb: Now block size is 1024.
* lib/net/smtp.rb: new methods SMTP#esmtp? and #esmtp=.
* lib/net/http.rb: Using singleton method syntax instead of singleton class clause, to avoid behavior change of class variables in ruby 1.7.
* lib/net/http.rb: HTTPResponse class does not inherit from Net::Response.
* lib/net/http.rb: devide HTTP#connecting into {begin,end}_transport.
* lib/net/http.rb: unused class Accumulator removed.
* lib/net/http.rb: Net::HTTP reads response. not HTTPRequest.
* lib/net/http.rb: proxy related class-instance-variables are not initialized correctly.
595 lines of code changed in:
* file.c (path_check_1): do not fail on world writable *parent*
directories too.
9 lines of code changed in:
* file.c (path_check_1): do not warn on world writable *parent*
directories.
* class.c (rb_include_module): should preserve ancestor order in
the included class/module.
22 lines of code changed in:
file.c (path_check_1): typo
1 lines of code changed in:
* file.c (path_check_1): should check directory sticky bits.
* process.c (security): need not to warn twice.
* marshal.c (r_object): complete restoration before calling
r_regist().
21 lines of code changed in:
* parse.y (yylex): operators in the "op" rule should make
lex_state EXPR_ARG on EXPR_FNAME and EXPR_DOT.
92 lines of code changed in:
* eval.c (rb_eval_string_wrap): should hide the toplevel local
variable bindings by PUSH_SCOPE().
7 lines of code changed in:
* regex.c: fix prototypes of xmalloc(), xcalloc() and xrealloc().
7 lines of code changed in:
* io.c (rb_io_ungetc): don't fail pushed EOF back.
7 lines of code changed in:
2002-02-18
2 lines of code changed in:
* pack.c (pack_pack): avoid infinite loop at comment.
* pack.c (pack_unpack): ditto.
8 lines of code changed in:
* parse.y (expr_value, arg_value, primary_value): value_expr()
check in place.
* eval.c (block_pass): "&nil" should clear block given.
* dir.c (push_braces): remove MAXPATHLEN dependency.
* dir.c (dir_s_globd): ditto.
* dln.c (init_funcname): ditto.
* dln.c (load_1): ditto.
* dln.c (dln_load): ditto.
* configure.in: add GNU/Hurd switches.
* pack.c (pack_pack): allows comment in template strings.
* pack.c (pack_unpack): ditto.
246 lines of code changed in:
* misc/ruby-mode.el (ruby-block-hanging-re): rescue block was too
indented.
11 lines of code changed in:
* misc/ruby-mode.el (ruby-font-lock-keywords): fontify
instance/class/global variables start with '_'.
8 lines of code changed in:
* mkconfig.rb (Config::expand): expand ${} too.
* ext/extmk.rb.in (try_link0): expand command.
* ext/extmk.rb.in (try_cpp): ditto.
* ext/extmk.rb.in (extmake): default $LIBPATH to $libdir
29 lines of code changed in:
* class.c (rb_define_class): warn unless superclass is specified
explicitly.
* class.c (rb_define_class_under): ditto.
14 lines of code changed in:
2002-02-17
2 lines of code changed in:
* ext/digest/md5/md5init.c (Init_md5): rb_cvar_declare() is
replaced by rb_cvar_set().
* ext/digest/rmd160/rmd160init.c (Init_rmd160): ditto.
* ext/digest/sha1/sha1init.c (Init_sha1): ditto.
* ext/digest/sha2/sha2init.c (Init_sha2): ditto.
19 lines of code changed in:
2002-02-16
2 lines of code changed in:
* regex.c (re_compile_fastmap): skip begpos.
5 lines of code changed in:
* eval.c (rb_eval): replace rb_cvar_declare() by rb_cvar_set().
* eval.c (assign): ditto.
* variable.c (rb_cvar_set): 4th argument (warn) added; define new
class variable if it's not defined yet.
* variable.c (rb_cvar_declare): removed.
23 lines of code changed in:
* bignum.c (rb_big_rshift): should properly convert the nagative
value to 2's compliment.
26 lines of code changed in:
2002-02-14
2 lines of code changed in:
* parse.y: avoid SEGV at OP_ASIGN to pseudo variable.
6 lines of code changed in:
* struct.c (Init_Struct): should undefine "allocate" for Struct
class (it's redefined in the subclasses).
7 lines of code changed in:
sorry, assignable typo
1 lines of code changed in:
* bignum.c: forget to check in DIGSPERLONGLONG.
18 lines of code changed in:
2002-02-13
2 lines of code changed in:
* parse.y (stmt): local variable declaration order was changed
since 1.6
* parse.y (arg): ditto.
* pack.c (pack_pack): add templates 'q' and 'Q'.
* pack.c (pack_unpack): ditto.
* bignum.c (rb_quad_pack): new utility function.
* bignum.c (rb_quad_unpack): ditto.
* parse.y (assignable): should emit CVASGN within the method
body.
* dir.c (dir_s_glob): should not warn even if no match found.
* eval.c (rb_eval): clean up class variable behavior.
* eval.c (assign): ditto.
* eval.c (is_defined): ditto.
* variable.c (rb_mod_class_variables): need not to call rb_cvar_singleton().
* variable.c (rb_cvar_singleton): removed.
289 lines of code changed in:
* ruby.c (load_file): avoid SEGV on '#' only input.
7 lines of code changed in:
2002-02-09
2 lines of code changed in:
* eval.c (rb_eval): singleton chech should be moved from yycompile
to here.
* eval.c (is_defined): check should be added here too.
30 lines of code changed in:
2002-02-08
2 lines of code changed in:
* parse.y (yycompile): should inherit "in_single" if eval happened
in a singleton method.
* eval.c (rb_eval): class variables from singleton methods defined
within singleton class statement should work like ones defined
by sington def statements.
13 lines of code changed in:
aamine
* lib/net/http.rb: HTTP.Proxy should use self for proxy-class's super class.
* lib/net/http.rb: initialize HTTP.proxy_port by HTTP.port.
62 lines of code changed in:
2002-02-07
2 lines of code changed in:
uri-0.9.5
27 lines of code changed in:
* io.c (io_write): flag when buffered write is done.
* io.c (fptr_finalize): do not raise error on EBADF if write
buffer is empty.
32 lines of code changed in:
* configure.in: keep old config.h unless changed.
10 lines of code changed in:
* io.c (rb_io_readlines): avoid calling GetOpenFile() repeatedly.
* io.c (rb_io_each_line): ditto.
* io.c (argf_getline): ditto.
* process.c: should include <time.h> to get proper CLK_TCK.
144 lines of code changed in:
* lib/net/imap.rb: OpenSSL support.
* lib/net/imap.rb (setquota): unset quota if the second argument is nil.
63 lines of code changed in:
* io.c (fptr_finalize): ignore EBADF when f and f2 use same
descriptor.
16 lines of code changed in:
* io.c (fptr_finalize): should raise error when fclose fails.
* eval.c (method_inspect): proper output format to distinguish
methods and singleton methods.
81 lines of code changed in:
* file.c (rb_file_s_expand_path): should terminate.
5 lines of code changed in:
2002-02-04
2 lines of code changed in:
* object.c (rb_class_real): should not follow ICLASS link
* variable.c (classname): should follow ICLASS link explicitly.
52 lines of code changed in:
* intern.h: prototypes for new functions; rb_cstr_to_inum(),
rb_str_to_inum(), rb_cstr_to_dbl(), rb_str_to_dbl()
* bignum.c (rb_cstr_to_inum): changed from rb_cstr2inum(), and
added argument badcheck to be consistent with parser. [new]
* bignum.c (rb_str_to_inum): ditto.
* bignum.c (rb_cstr2inum): wapper of rb_cstr_to_inum() now.
* bignum.c (rb_str2inum): ditto.
* object.c (rb_cstr_to_dbl): float number parser. [new]
* object.c (rb_str_to_dbl): ditto.
* object.c (rb_Float): use rb_cstr_to_dbl() for strict check.
* object.c (rb_Integer): use rb_str_to_inum() for strict check.
* string.c (rb_str_to_f): use rb_str_to_dbl() with less check.
* string.c (rb_str_to_i): use rb_str_to_inum() with less check.
* string.c (rb_str_hex): ditto.
* string.c (rb_str_oct): ditto.
* sprintf.c (rb_f_sprintf): ditto.
* time.c (obj2long): ditto.
* parse.y (yylex): use rb_cstr_to_inum() for strict check.
183 lines of code changed in:
* regex.c (mbc_startpos): become macro.
* regex.c (euc_startpos): added for improvement.
* regex.c (sjis_startpos): ditto.
* regex.c (utf8_startpos): ditto.
84 lines of code changed in:
2002-02-01
2 lines of code changed in:
* file.c (rb_stat_inspect): print dev, rdev in hexadecimal.
23 lines of code changed in: