eban
32ce4317d8
* configure.in: add ac_cv_func_getpgrp_void=yes on DJGPP.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-11 14:59:04 +00:00
eban
c5254c68ad
* eval.c (stack_length): use __builtin_frame_address() only if
...
GCC and i386 CPU.
* gc.c (rb_gc, Init_stack): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-11 07:12:02 +00:00
usa
08f8ab9c37
* win32/win32.c (win32_stat): replace stat for enable when pathname
...
ends with '/' or '\' for mswin32 on Win9X / Win2k.
* win32/win32.h: ditto.
* ruby.h: ditto.
* dir.c (rb_glob_helper): ditto.
* file.c (rb_stat, rb_file_s_stat, eaccess, check3rdbyte): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-09 15:02:14 +00:00
eban
b4ea8ddcdd
ruby.c (ruby_init_loadpath): convert '\' to '/'
...
before finding executable file path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-09 14:11:23 +00:00
eban
106a65482b
2001-02-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-08 13:58:38 +00:00
eban
bc714fb4f5
lib/mkmf.rb (create_makefile): add srcdir.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-08 13:23:48 +00:00
matz
ed520cf6e9
* parse.y (parse_quotedwords): %w should allow parenthesis escape.
...
* parse.y (parse_qstring): %q should allow terminator escape.
* re.c (rb_reg_options): new method to give an option values.
* parse.y (cond0): disable special treating of integer literal in
conditional unless option -e is supplied. changes current
behavior. experimental.
* parse.y (cond0): give warning for string/integer literals and
dot operators in conditionals unless option -e is supplied.
* re.c (rb_reg_equal): all option flags should be same to be equal.
* error.c (Init_Exception): make Interrupt a subclass of
SignalException.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-08 09:19:27 +00:00
aamine
b576f57aa0
aamine
...
* lib/net/http.rb: join HTTPReadResponse into HTTPResponse again.
* lib/net/http.rb: move http_version() from HTTPRequest to HTTPResponse.
* lib/net/protocol.rb: refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-07 17:17:51 +00:00
aamine
7e5f9d5a13
aamine
...
* lib/net/http.rb: split HTTPResponse into HTTPReadResponse module.
* lib/net/protocol.rb: add Net::net_private.
* lib/net/protocol.rb: Socket#reopen takes arg, open_timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-07 07:23:09 +00:00
aamine
bf5ea58942
aamine
...
* lib/net/http.rb: Proxy did not work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-06 13:04:08 +00:00
aamine
5113e8923c
aamine
...
* lib/net/http.rb: call on_connect() on re-opening socket.
* lib/net/pop.rb: also POP3 can use APOP auth.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-06 12:26:25 +00:00
aamine
cdc7602379
aamine
...
* lib/net/http.rb: add HTTP#request.
* lib/net/http.rb: take HTTP 1.0 server into account (incomplete).
* lib/net/protocol.rb: timeout for open/read.
* lib/net/protocol.rb: add Protocol#on_connect,on_disconnect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-06 11:14:51 +00:00
matz
765255b737
* array.c (rb_ary_sort_bang): returns self, even if its length is
...
less than 2.
* eval.c (POP_VARS): propagate DVAR_DONT_RECYCLE, if
SCOPE_DONT_RECYCLE of ruby_scope is set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-02-02 11:38:20 +00:00
eban
e9f9915a4c
gcc-2.95.2-7(cygwin) support.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-31 14:27:37 +00:00
matz
35e5ddf6cf
* eval.c (block_pass): return from block jumps directory to
...
block invoker.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-29 06:12:56 +00:00
matz
2f0faf671d
* string.c (str_independent): should not clear str->orig here.
...
it's too early.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-29 05:10:42 +00:00
matz
161e3313d2
* parse.y: clarify do ambiguity, bit more complex but natural
...
from my point of view.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-26 05:02:19 +00:00
matz
74273daffb
* eval.c (POP_BLOCK_TAG): call rb_gc_force_recycle() if block has
...
not been objectified.
* eval.c (rb_callcc): should nail down block->tag history to avoid
rb_gc_force_recycle().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-24 06:32:10 +00:00
knu
0dc1a293fd
* lib/cgi.rb: fix the problem that when running under mod_ruby
...
header() outputs only one Set-Cookie line.
Approved by: wakou, matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-24 06:01:47 +00:00
matz
e111bdb9d3
* gc.c (rb_gc_call_finalizer_at_exit): should finalize objects in
...
deferred_final_list too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-23 09:55:10 +00:00
eban
2455b077df
2001-01-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-23 09:14:50 +00:00
matz
7635ff6a05
* gc.c (os_live_obj): do not list terminated object.
...
* gc.c (os_obj_of): ditto.
* gc.c (rb_gc_mark): support new T_BLKTAG tag.
* gc.c (obj_free): ditto.
* eval.c (new_blktag): creation of new block tag, which holds
destination of global jump and orphan status.
* eval.c (block_pass): break from orphan Proc object will raise a
LocalJumpError exception.
* eval.c (block_pass): behavior consistency with proc_call(). do
not propagate `break'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-23 08:08:59 +00:00
eban
9d0bba43bb
* mkconfig.rb: autoconf 2.49 support.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-22 07:37:14 +00:00
matz
6aa451b9dd
* parse.y (block_call): syntax restructure.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-20 14:02:28 +00:00
matz
77b8745d4a
* parse.y (yylex): fixed serious syntax misbehavior. do's
...
preceding was too high. a block in `foo bar do .. end' should
be passed to `foo', not `bar'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-19 19:00:28 +00:00
eban
72d9a8598d
2001-01-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-18 12:57:08 +00:00
eban
0232870f7d
2000-01-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-18 12:36:19 +00:00
matz
0b3092922d
* io.c (rb_io_s_read): new method to call IO#read from
...
pathname. In addition, it accepts third optional argument to
specify starting point.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-18 08:43:14 +00:00
eban
24a286efe1
* mkconfig.rb, win32/config.status.in: remove DEFS definition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-17 04:45:49 +00:00
eban
3fff54d2a0
* win32/config.status.in: remove DEFS definition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-17 04:45:38 +00:00
eban
71e591aed6
* mkconfig.rb: remove DEFS definition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-17 04:45:22 +00:00
eban
70e3e77f3b
* configure.in: remove DEFS definition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-17 04:33:29 +00:00
aamine
7adcec68b1
aamine
...
* lib/net/protocol.rb: ignore EOFError for read.
* lib/net/http.rb: user specified header was not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-16 07:57:43 +00:00
eban
c46cf18e3b
2001-01-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-15 08:26:34 +00:00
matz
971a4d94f0
Mon Jan 15 16:00:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
...
* pack.c (pack_unpack): should check associated pointer packed by
pack("P"). restriction added.
Sun Jan 14 21:49:28 2001 Koji Arai <JCA02266@nifty.ne.jp>
* sprintf.c (rb_f_sprintf): simple typo. binary base should be 2,
not '2'.
* re.c (rb_reg_s_last_match): should explicitly return nth match.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-15 07:01:00 +00:00
usa
ac8a2a31c2
*** empty log message ***
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-14 09:22:24 +00:00
aamine
0c717d6a58
aamine
...
* lib/net/protocol.rb (adding): too few "yield" in case of arg is not String/File.
* lib/net/http.rb: add http request object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-13 19:07:15 +00:00
eban
e9c8b36b1e
* re.c (rb_reg_desc): separate RE_OPTION_MULTILINE
...
* re.c (rb_reg_options): add RE_OPTION_{POSIXLINE,RE_OPTION_MULTILINE,
RE_OPTION_EXTENDED}
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-13 10:47:12 +00:00
eban
e63525e97e
eban
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-13 10:46:35 +00:00
eban
fdcbe32f27
eban
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-11 08:32:54 +00:00
eban
6ee84cbabe
NORETURN, INLINE
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-11 01:56:08 +00:00
eban
8bbfa6fa4c
INLINE
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-11 01:55:18 +00:00
eban
d08c50dcc4
m17n cleanup
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-11 01:21:25 +00:00
matz
5a9b26eb9c
mbclen2 fix
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-10 10:10:43 +00:00
matz
3ea9ef023b
inline fix
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-10 10:07:31 +00:00
matz
4c09e12b04
m17n cleanup ;_;
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-10 09:52:13 +00:00
eban
fd8eadd2af
2001-01-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-10 08:22:22 +00:00
eban
74d0eaf6a2
NORETURN
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-10 08:09:01 +00:00
matz
81ef4309a2
* m17n baseline.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-10 07:52:46 +00:00
eban
6b5ad7c5b2
setres[ug]id, NORETURN
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-01-10 07:30:18 +00:00