summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/shell.rb (Shell::expand_path): relative to @cwd.nobu2002-02-252-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/*/*.h: Merge from rough.knu2002-02-241-0/+5
| | | | | | | - Avoid namespace pollution. (MD5_* -> rb_Digest_MD5_*, etc.) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge from rough.knu2002-02-244-4/+64
| | | | | | | - Avoid namespace pollution. (MD5_* -> rb_Digest_MD5_*, etc.) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refactoring. Added Context#format_frame to format a frame, used by up/downnahi2002-02-231-13/+16
| | | | | | | command and Context#display_frames. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* modify typo.aamine2002-02-221-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix filename.akr2002-02-221-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb: set read_timeout dynamically.aamine2002-02-223-39/+48
| | | | | | | | | * 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 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-22nobu2002-02-221-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/config.status.in: set LIBRUBY_SO.usa2002-02-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (get2comp): need to specify to carry or not.matz2002-02-225-22/+49
| | | | | | | * io.c (rb_io_inspect): embed path info. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * prettyprint.rb: FillGroup implemented.akr2002-02-223-54/+188
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in (create_makefile): remove unnecessary -L option fromusa2002-02-212-1/+6
| | | | | | | LIBS macro. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-21eban2002-02-211-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): wrong # comment treatment.matz2002-02-215-10/+16
| | | | | | | * pack.c (pack_unpack): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-20nobu2002-02-201-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h: prototypes; rb_io_addstr(), rb_io_printf(),nobu2002-02-203-6/+21
| | | | | | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_close): return Qnil.usa2002-02-202-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_any_cmp): should handle Qundef in keys.matz2002-02-205-10/+36
| | | | | | | | | | | | | * 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionnobu2002-02-191-0/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2002-02-196-521/+597
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (path_check_1): do not fail on world writable *parent*nobu2002-02-192-3/+9
| | | | | | | directories too. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (path_check_1): do not warn on world writable *parent*matz2002-02-194-5/+22
| | | | | | | | | | directories. * class.c (rb_include_module): should preserve ancestor order in the included class/module. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c (path_check_1): typomatz2002-02-191-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (path_check_1): should check directory sticky bits.matz2002-02-194-11/+21
| | | | | | | | | | * process.c (security): need not to warn twice. * marshal.c (r_object): complete restoration before calling r_regist(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): operators in the "op" rule should makematz2002-02-192-27/+92
| | | | | | | lex_state EXPR_ARG on EXPR_FNAME and EXPR_DOT. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval_string_wrap): should hide the toplevel localmatz2002-02-194-307/+7
| | | | | | | variable bindings by PUSH_SCOPE(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c: fix prototypes of xmalloc(), xcalloc() and xrealloc().eban2002-02-192-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ungetc): don't fail pushed EOF back.nobu2002-02-193-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-18nobu2002-02-181-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): avoid infinite loop at comment.nobu2002-02-182-5/+8
| | | | | | | * pack.c (pack_unpack): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (expr_value, arg_value, primary_value): value_expr()matz2002-02-1810-188/+246
| | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-block-hanging-re): rescue block was toonobu2002-02-182-2/+11
| | | | | | | indented. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-font-lock-keywords): fontifynobu2002-02-172-3/+8
| | | | | | | instance/class/global variables start with '_'. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb (Config::expand): expand ${} too.nobu2002-02-173-24/+29
| | | | | | | | | | | * ext/extmk.rb.in (try_link0): expand command. * ext/extmk.rb.in (try_cpp): ditto. * ext/extmk.rb.in (extmake): default $LIBPATH to $libdir git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_define_class): warn unless superclass is specifiednobu2002-02-172-0/+14
| | | | | | | | | explicitly. * class.c (rb_define_class_under): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-17nobu2002-02-171-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/md5/md5init.c (Init_md5): rb_cvar_declare() isnobu2002-02-175-8/+19
| | | | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-16nobu2002-02-161-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (re_compile_fastmap): skip begpos.nobu2002-02-162-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): replace rb_cvar_declare() by rb_cvar_set().matz2002-02-155-39/+23
| | | | | | | | | | | | * 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_rshift): should properly convert the nagativematz2002-02-154-1/+26
| | | | | | | value to 2's compliment. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-14nobu2002-02-141-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: avoid SEGV at OP_ASIGN to pseudo variable.nobu2002-02-142-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (Init_Struct): should undefine "allocate" for Structmatz2002-02-143-2/+7
| | | | | | | class (it's redefined in the subclasses). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sorry, assignable typomatz2002-02-131-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c: forget to check in DIGSPERLONGLONG.matz2002-02-131-2/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-13eban2002-02-131-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt): local variable declaration order was changedmatz2002-02-1312-106/+289
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (load_file): avoid SEGV on '#' only input.nobu2002-02-103-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-02-09nobu2002-02-091-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e