summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
...
* DLSTR(argv[i]) => DLSTR(RSTRING(argv[i])->ptr)ttate2002-04-041-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bugfix (a few bugs seems to be remaining yet.)ttate2002-04-041-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Patch [ruby-dev:16747] (Thanks Nakada)ttate2002-04-042-22/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add ext/dl/lib/dl/types.rb.ttate2002-04-032-68/+90
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge Nakada's patch and define StringValuePtr for ruby-1.6.ttate2002-04-039-167/+174
| | | | | | | CV ---------------------------------------------------------------------- git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in (enable_config): follow lib/mkmf.rb.nobu2002-04-021-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add entries to each Setup.* and remove Changes files.ttate2002-04-025-166/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Get rid of the RUBY, and use CPPFLAGS="$(CPPFLAGS) -DDEBUG"ttate2002-04-021-2/+1
| | | | | | | in the debug phase. (Thanks Nakada) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add ruby-dl.ttate2002-04-021-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add ruby-dlttate2002-04-0230-0/+5872
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (CPPFLAGS): remove @includedir@.matz2002-04-021-4/+3
| | | | | | | | | * lib/mkmf.rb (create_makefile): ditto. * ext/extmk.rb.in (create_makefile): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_addrinfo): should clear addrinfo hints.eban2002-04-021-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fptr_cleanup): need flush even when io will not bematz2002-04-012-2/+9
| | | | | | | | | | closed. * io.c (rb_io_initialize): was calling wrong function rb_io_mode_flags(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sdbm/init.c (each_pair): moved prototype before thenobu2002-04-012-4/+3
| | | | | | | | | definition. * ext/racc/cparse/cparse.c (call_scaniter): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/racc/cparse/cparse.c: prototype; call_scaniter().usa2002-04-013-0/+11
| | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_addrinfo): should specify socktypematz2002-03-281-15/+21
| | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@2299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: add taint check.aamine2002-03-281-121/+169
| | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in (arg_config): should use Shellwords::shellwords.eban2002-03-261-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): while/until statement modifiers to "begin"matz2002-03-261-0/+1
| | | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@2285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigfloat/bigfloat.c: Fix the initializer's function nameknu2002-03-261-20/+2
| | | | | | | according to the new library name. (pointed out by nobu) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigfloat/extconf.rb: Downcase the module name. (BigFloat.soknu2002-03-252-2/+52
| | | | | | | | | | | | | | | -> bigfloat.so) * ext/bigfloat/bigfloat.c (BigFloat_inspect): Alter the inspect format not to look like an array. (pointed out by akr) * ext/bigfloat/bigfloat.c (BigFloat_hash): Implement BigFloat#hash. * ext/bigfloat/bigfloat.c (BigFloat_dump, BigFloat_load): Support marshaling. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in (arg_config): get rid of single quotes for autoconf 2.53.eban2002-03-251-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (bsock_do_not_rev_lookup_set): should not bematz2002-03-251-106/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | allowed when $SAFE > 3. * eval.c (rb_thread_ready): THREAD_TO_KILL threads should not turn into THREAD_RUNNABLE on wakeup. * eval.c (rb_thread_list): THREAD_TO_KILL threads should be in the list. * eval.c (thgroup_list): ditto; by moving gid clearance from rb_thread_cleanup(). * 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. * ext/socket/socket.c (tcp_s_gethostbyname): refactored. * ext/socket/socket.c (sock_s_gethostbyname): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in: replace mkdir with mkpath to compile racc/cparse.aamine2002-03-221-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* socket.c: oops, half-baked modifies were commited; backoutmatz2002-03-221-28/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * the VMS support patch submitted by Akiyoshi, Masamichimatz2002-03-221-37/+75
| | | | | | | | | | | | <Masamichi.Akiyoshi@jp.compaq.com> is merged. * eval.c (exec_under): changing ruby_class is OK, but should not alter cbase. * eval.c (yield_under_i): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* racc runtime imported.aamine2002-03-229-0/+777
| | | | | | | | | | * lib/racc/parser.rb: new file. * ext/racc/MANIFEST, cparse.c, depend, extconf.rb: new files. * lib/README: add racc/parser.rb. * ext/Setup*: add racc/cparse. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strscan.c: remove useless #include directiveaamine2002-03-221-5/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* import strscan.aamine2002-03-229-0/+673
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Synchronize with reality. Pick actually existent modules and get ridknu2002-03-225-15/+33
| | | | | | | of removed modules. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* BigFloat 1.1.8 has been imported. Add .cvsignore and MANIFEST.knu2002-03-222-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionknu2002-03-224-0/+5180
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Probably */depend should be added to this file too.knu2002-03-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/configsub.rb: latest autoconf style support.nobu2002-03-201-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (check_modifiable): wrong declaration.nobu2002-03-181-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest: add depend file.nobu2002-03-1816-2/+40
| | | | | | | | | | | | | | | | | | | * ext/digest/md5: ditto. * ext/digest/rmd160: ditto. * ext/digest/sha1: ditto. * ext/digest/sha2: ditto. * ext/iconv/MANIFEST: ditto. * ext/stringio/MANIFEST: ditto. * ext/syslog: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_abort): should not bypass cleanup.nobu2002-03-181-1/+2
| | | | | | | * ext/stringio/stringio.c (check_modifiable): void function. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/extconf.rb: workaround for GNU libiconv.eban2002-03-181-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/depend: added.nobu2002-03-171-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/depend: added.nobu2002-03-171-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c: fixed document, Iconv#new is no longer annobu2002-03-151-4/+5
| | | | | | | iterator. thanks to Tanaka Akira <akr@m17n.org>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionnobu2002-03-143-0/+745
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c: fixed frozen string bug. ungetc nonobu2002-03-141-14/+46
| | | | | | | longer raises on readonly stream unless modifies actually. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionnobu2002-03-112-0/+890
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): module inclusion using extend() shouldmatz2002-03-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | also be detected. * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb (have_struct_member): don't print checkedakr2002-03-081-4/+4
| | | | | | | result. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (cvar_cbase): utility function to find innermost nonmatz2002-03-084-22/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | singleton cbase. * eval.c (is_defined): adopt new cvar behavior. * eval.c (rb_eval): ditto. * eval.c (assign): ditto. * class.c (rb_mod_clone): should not call rb_obj_clone(), since Module does not provide "allocate". * class.c (rb_singleton_class): should crate new singleton class if obj is a class or module and attached object is different, which means metaclass of singleton class is sought. * time.c (time_s_alloc): now follows allocation framework. * eval.c (rb_eval): should initialize outer class variables from methods in singleton class definitions. * eval.c (assign): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in (dir_config): Sync with mkmf.rb: Fix a bug whereknu2002-03-041-13/+5
| | | | | | | | --with-xx-{include,lib} is ignored when --with-xx-dir is specified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Make cvs ignore mkmf.log.knu2002-03-0413-0/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): add consteban2002-03-012-2/+8
| | | | | | | qualifier only for uClibc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e