ttate
8d08d9f513
Add dl/struct.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-05 05:11:11 +00:00
ttate
289fe2b8ee
Get rid of ineffective encoding/decoding procedures.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-04 14:17:19 +00:00
ttate
5f8d02cbbc
DLSTR(argv[i]) => DLSTR(RSTRING(argv[i])->ptr)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-04 11:29:56 +00:00
ttate
556556e450
bugfix (a few bugs seems to be remaining yet.)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-04 11:17:23 +00:00
nobu
07e54ed140
2002-04-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-04 09:22:13 +00:00
ttate
1502ea7c0c
Patch [ruby-dev:16747] (Thanks Nakada)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-04 08:27:48 +00:00
ttate
b5856f738a
Add ext/dl/lib/dl/types.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-03 15:43:12 +00:00
ttate
74b4c81396
Merge Nakada's patch and define StringValuePtr for ruby-1.6.
...
CV ----------------------------------------------------------------------
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-03 11:59:01 +00:00
nobu
493c57f65a
* ext/extmk.rb.in (enable_config): follow lib/mkmf.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 17:04:33 +00:00
ttate
e34e13c0c4
Add entries to each Setup.* and remove Changes files.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 13:16:00 +00:00
ttate
736b081e92
Get rid of the RUBY, and use CPPFLAGS="$(CPPFLAGS) -DDEBUG"
...
in the debug phase. (Thanks Nakada)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 12:06:23 +00:00
ttate
bb092343b4
Append a message for dl.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 11:10:12 +00:00
ttate
688c3836a4
Add ruby-dl.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 10:58:19 +00:00
ttate
7d711b817e
Add ruby-dl
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 10:56:13 +00:00
nobu
64b6406445
2002-04-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 08:52:55 +00:00
matz
1c6a8e4deb
* Makefile.in (CPPFLAGS): remove @includedir@.
...
* lib/mkmf.rb (create_makefile): ditto.
* ext/extmk.rb.in (create_makefile): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 06:48:45 +00:00
eban
1cfece051c
* ext/socket/socket.c (sock_addrinfo): should clear addrinfo hints.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 06:12:04 +00:00
ttate
edf4c88f79
mkmf.rb: files[0,1] == "." -> files[0,2] == "./"
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-01 17:42:32 +00:00
ttate
46a7493b6c
lib/mkmf.rb: install any files using $INSTALLFILES. (from [ruby-dev:16683])
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-01 15:01:56 +00:00
matz
de373b1b6c
* io.c (rb_io_fptr_cleanup): need flush even when io will not be
...
closed.
* io.c (rb_io_initialize): was calling wrong function
rb_io_mode_flags().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-01 08:31:49 +00:00
nobu
360453ce14
2002-04-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-01 08:07:10 +00:00
nobu
d79c23b0db
* ext/sdbm/init.c (each_pair): moved prototype before the
...
definition.
* ext/racc/cparse/cparse.c (call_scaniter): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-01 07:58:09 +00:00
matz
1550277b34
* re.c (match_setter): it's OK to assign nil to $~.
...
* io.c (rb_io_fptr_cleanup): do not close IO created by for_fd().
* io.c (rb_io_initialize): mark IO created by for_fd
* ext/socket/socket.c (bsock_s_for_fd): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-01 07:39:09 +00:00
usa
1ecdc6a115
* ext/racc/cparse/cparse.c: prototype; call_scaniter().
...
* ext/sdbm/init.c: prototype; each_pair().
* ext/tcltklib/tcltklib.c: prototypes; _timer_for_tcl() and ip_ruby(),
Nobu's patch at [ruby-dev:14483].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-01 06:21:24 +00:00
matz
564222ba27
* io.c (io_fflush): DRY patch from /Christoph applied.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-29 14:50:09 +00:00
nahi
76f963d077
Changed the regexp again to simplify code. See also [ruby-dev:16682].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-29 11:52:09 +00:00
nobu
014c5da903
* lib/mkmf.rb (create_makefile): default FLAGS to empty strings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-29 11:25:01 +00:00
nobu
bf1f97ae3f
2002-03-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-29 09:04:05 +00:00
nobu
09651f0431
* lib/mkmf.rb (arg_config): should use Shellwords::shellwords like
...
ext/extmk.rb.in.
* lib/mkmf.rb (enable_config): default had priority over command
line options and configure_args.
* lib/mkmf.rb: support autoconf 2.53 style variables from
environment.
* lib/mkmf.rb: add directory options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-29 07:42:20 +00:00
usa
8e565c612d
* win32/README.win32: follow recent changes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-29 06:49:58 +00:00
nahi
766762300b
Changed regexp for parsing break command '.*?+' to '.+'.
...
See also [ruby-dev:16652].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-29 03:05:11 +00:00
usa
1c023c0cbf
* win32/Makefile.sub (config.status): reflect user defined $CC in
...
config.status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-28 09:59:49 +00:00
matz
cc38f5f090
* ext/socket/socket.c (sock_addrinfo): should specify socktype
...
from outside.
* io.c (argf_binmode): should call next_argv() to initialize ARGF.
* io.c (argf_filename): ditto.
* io.c (argf_file): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-28 09:17:54 +00:00
aamine
ff95039936
* ext/strscan/strscan.c: add taint check.
...
* ext/strscan/strscan.c: #getch/#get_byte should set regexp registers.
* ext/strscan/strscan.c: remove useless #include directive.
* ext/strscan/strscan.c: refactor struct strscanner.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-28 08:53:24 +00:00
eban
e1eee80893
* io.c (READ_DATA_PENDING): configure.in has supported for uClibc,
...
so remove uClibc stuff.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-27 05:55:01 +00:00
nobu
4ae4525ca4
typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-27 05:52:36 +00:00
matz
cf06d8b20b
* io.c (rb_io_sysseek): new method based on a patch from Aristarkh
...
A Zagorodnikov <xm@bolotov-team.ru>. [new]
* io.c (READ_DATA_PENDING): use !feof(fp) for default behavior.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-27 05:28:00 +00:00
aamine
24e4c9a0fb
change log update only.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 11:27:50 +00:00
aamine
1ea1fbe85d
* lib/net/http.rb: HTTP.get accepts URI.
...
* lib/net/http.rb: add some HTTP 1.1 response codes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 11:18:02 +00:00
aamine
04168e7e3e
* doc/net/protocol.rd.ja, smtp.rd.ja, pop.rd.ja: removed.
...
* MANIFEST: remove doc/net/* entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 11:17:13 +00:00
eban
ce0de3f67b
* ext/extmk.rb.in (arg_config): should use Shellwords::shellwords.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 10:46:30 +00:00
eban
b427d9e859
* configure.in (FILE_READPTR): check bufread instead of bufend for uClibc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 10:14:44 +00:00
eban
8d6981cfcb
.cvsignore: add autom4te*.cache.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 06:44:52 +00:00
matz
f60b87038d
* parse.y (primary): while/until statement modifiers to "begin"
...
statement now work as "do .. while" even when begin statement
has "rescue" or "ensure" [new].
* parse.y (bodystmt): rescue/ensure is allowed at every bodies,
i.e. method bodies, begin bodies, class bodies[new], and module
bodies[new].
* ext/socket/socket.c (sock_addrinfo): should specify ai_socktype
for getaddrinfo hints.
* eval.c (rb_f_abort): embed aborting message into exception
object [new].
* eval.c (terminate_process): utility function for exit and abort.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 06:18:51 +00:00
usa
2244b5fabf
* win32/mkexports.rb: support VC++.NET.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 05:08:56 +00:00
knu
409f3a3b6b
* ext/bigfloat/bigfloat.c: Fix the initializer's function name
...
according to the new library name. (pointed out by nobu)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 05:05:27 +00:00
eban
59060ca1a4
* bignum.c (rb_quad_pack): get rid of escape sequences.
...
* dln.c (dln_load, __VMS): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 03:01:30 +00:00
aamine
a4428fb019
lib/fileutils.rb added
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 02:06:50 +00:00
aamine
fb54b37850
* lib/fileutils.rb: new file.
...
* lib/README: add fileutlis.rb.
* doc/NEWS: add fileutils.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-26 02:03:04 +00:00
akr
4795daf1bc
* lib/pp.rb (pp): return nil like p.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-25 18:24:46 +00:00