aboutsummaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* * renewal Ruby/Tknagai2004-05-01246-10978/+27049
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb: passing Range tests.why2004-04-266-308/+406
| | | | | | | | | | | | | | | | | | | * ext/syck/syck.h: version 0.44. * ext/syck/gram.c: transfers no longer open an indentation. fixed transfers which precede blocks. * ext/syck/token.c: ditto. * ext/syck/syck.c: fixed segfault if an anchor has been released already. * ext/syck/node.c (syck_free_members): organized order of free'd nodes. * ext/syck/rubyext.c (syck_emitter_write_m): test for proper string with StringValue. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, ext/extmk.rb: make ext and .ext get removed by distclean.nobu2004-04-221-4/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: skip linking when libraries to be preloaded notnobu2004-04-151-1/+1
| | | | | | | compiled. [ruby-list:39561] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/gdbm/gdbm.c (Init_gdbm): define GDBM::READER, GDBM::WRITER,akr2004-04-151-16/+24
| | | | | | | | GDBM::WRCREAT and GDBM::NEWDB. (fgdbm_initialize): use specified read/write flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return a value.gotoyuzo2004-04-121-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): skip uncompiled extensions.nobu2004-04-081-0/+2
| | | | | | | | | | | | | | | | | | | | | * lib/mkmf.rb (create_makefile): emit no rules for static library if $static is nil, e.g., outside of ext/. * lib/test/unit/ui/console/testrunner.rb (test_started): show test name via $0. * runruby.rb: set environments to use the compiled binary. * test/runner.rb: do nothing while cross-compiling. * test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to know ruby binary. * test/ruby/envutil.rb: give priority to RUBY environment variable to use just compiled binary and libraries. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_s_list): return encoding list if no blocknobu2004-04-081-2/+13
| | | | | | | is given. [ruby-dev:23063] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): use NUM2INT() instead of num2i32().matz2004-04-071-3/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_get_path): get path string via "to_path" method ifmatz2004-04-071-0/+2
| | | | | | | | | | | | path object is not a string. [Ruby2] * gc.c (rb_gc_call_finalizer_at_exit): do not free threads in the exit finalizers. * io.c (rb_io_reopen): should use rb_io_check_io(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (raise_socket_error): never return.usa2004-04-061-3/+3
| | | | | | | * ext/socket/socket.c (make_hostent): must return value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (raise_socket_error): some platforms don't haveusa2004-04-051-0/+2
| | | | | | | EAI_SYSTEM. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.h: version 0.43.why2004-04-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/lib/gram.c: allow root-level inline collections.why2004-04-021-307/+327
| | | | | | | | | | [ruby-talk:94922] * lib/yaml/rubytypes.rb (Symbol#to_yaml): emit symbols as implicits. [ruby-talk:94930] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): extract necessary variables for static linknobu2004-04-021-8/+28
| | | | | | | | | | from Makefile. * lib/mkmf.rb (create_makefile): save preload and libpath for next compile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: mistakingly removed do_not_reverse_lookup.matz2004-04-021-15/+65
| | | | | | | [ruby-dev:39475] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (make_hostent): fix memory leak, based onmatz2004-04-011-95/+55
| | | | | | | the patch from HORIKAWA Hisashi <vzw00011@nifty.ne.jp>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): raises RangeError if uv is out of UTF8 valuematz2004-03-311-7/+16
| | | | | | | | | | range. [ruby-dev:23281] * io.c (rb_io_binmode): stdio buffer should be empty when calling IO#binmode. [ruby-talk:96155] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * exception message clean-up by Ian Macdonald <ian@caliban.org>.matz2004-03-2912-55/+55
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.akr2004-03-282-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bug in + and - reported by Bret Jolly fixed.shigek2004-03-251-25/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* MANIFEST update.nobu2004-03-231-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):nobu2004-03-231-2/+5
| | | | | | | | | | | | | | | | | | separate files under directories due to directory separator. * */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be removed. * win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit rules. * cygwin/GNUmakefile.in: some mingw stuffs were missed. * lib/mkmf.rb (create_makefile): Borland make wrongly removes braces from command lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: rm -rf $extout, not extout.eban2004-03-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: no longer embed srcdir and compile_dir intonobu2004-03-181-14/+16
| | | | | | | | | | rbconfig.rb. * ext/extmk.rb, lib/mkmf.rb: obtain top_srcdir and topdir from library paths. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder):gotoyuzo2004-03-151-1/+6
| | | | | | | add do_not_reverse_lookup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_s_def): Struct::new executes block withmatz2004-03-101-0/+17
| | | | | | | | | | generated struct class. [ruby-talk:02606] * io.c (rb_io_ungetc): raise IOError instead of calling rb_sys_fail(). [ruby-talk:23181] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: spin off https code again.aamine2004-03-062-158/+0
| | | | | | | | | | | | | | * lib/net/https.rb: new file. * ext/openssl/lib/net/https.rb: removed. moved to net/https with modifications. * ext/openssl/lib/net/protocol.rb: removed. merged with net/http. * lib/net/protocol.rb: new class BufferedIO. * lib/net/protocol.rb: InternetMessageIO < BufferedIO. * lib/net/protocol.rb: BufferedIO.new takes an IO. * lib/net/smtp.rb: follow InternetMessageIO's change. * lib/net/pop.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_init_copy): struct re_registers mustnobu2004-03-061-1/+7
| | | | | | | not be bitwise copied. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/depend: depends on re.h and regex.h.nobu2004-03-062-7/+2
| | | | | | | * ext/strscan/strscan.c: no version check needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: net/https is merged.aamine2004-03-051-89/+3
| | | | | | | * ext/openssl/lib/net/https.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: new method StringScanner#initialize_copy to allow ↵aamine2004-03-051-0/+35
| | | | | | | | | #dup and #clone. * test/strscan/test_strscan.rb: test StringScanner#dup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: get rid of warnings.nobu2004-03-031-29/+40
| | | | | | | | | | | * lib/rss/taxonomy.rb: ditto. * lib/rdoc/ri/ri_formatter.rb: ditto. * test/ruby/test_assignment.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_config.c (ossl_config_each): add new methodgotoyuzo2004-02-231-10/+51
| | | | | | | | | | OpenSSL::Config#each. it iterates with section name, field name and value. * ext/openssl/ossl_config.c (Init_ossl_config): include Enumerable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): $INCFLAGS also should be lazy-evaluated.nobu2004-02-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: $extstatic is Array or nil now. [ruby-talk:93383]nobu2004-02-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: use optparse instead of getopts.nobu2004-02-221-35/+37
| | | | | | | * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: documented, but needs more effort.gsinclair2004-02-211-7/+696
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: prefer relative path. [ruby-talk:93037]nobu2004-02-211-9/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wrong descriptions,pointed out by Bret Jolly,in the documents changed.shigek2004-02-202-8/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: improved documentationgsinclair2004-02-191-30/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: StringScanner#restsize is obsolete; use #rest_size ↵aamine2004-02-181-3/+27
| | | | | | | | | instead. * ext/strscan/strscan.c: StringScanner#matchedsize is obsolete; use #matched_size instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: don't use rb_eval_string, it defines classes under ↵aamine2004-02-181-2/+6
| | | | | | the module when required in module clauses. [ruby-dev:22951] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: merge documentation from 1.8 branch.aamine2004-02-181-5/+451
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: need to include <olectl.h> on Cygwin.eban2004-02-181-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): $extout_prefix doesn't vary for libraries.nobu2004-02-171-8/+16
| | | | | | | | | | | | | | * ext/extmk.rb (extmake): remove compile directory if empty. * ext/extmk.rb (parse_args) lib/mkmf.rb (create_makefile): move initialization of $extout_prefix from lib/mkmf.rb. [ruby-dev:22928] * ext/extmk.rb: clear ext and extout directory when cleaning. * lib/mkmf.rb (CLEANLIBS): should be under $(arch) directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: ScanError may be (wrongly) garbage collected. ↵aamine2004-02-171-14/+42
| | | | | | | | | | | | | (thanks Gavin Sinclair) * ext/strscan/strscan.c: move ::ScanError to StringScanner::Error. ::ScanError is also defined for backward compatibility. * ext/strscan/strscan.c: #peep is obsolete, use #peek. * ext/strscan/strscan.c: #empty? is obsolete, use #eos?. * ext/strscan/strscan.c: #clear is obsolete, use #terminate. * ext/strscan/strscan.c: #getbyte is obsolete, use #get_byte. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (parse_args): delay expanding $(extout) until invokingnobu2004-02-171-6/+10
| | | | | | | | | | make. * lib/mkmf.rb (CLEANLIBS): should remove files have specific extensions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_emitter_end_object): fix inline document.usa2004-02-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_emitter_end_object): takes only one arg.usa2004-02-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e