summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/openssl/ossl_config.c (ossl_config_each): add new methodgotoyuzo2004-02-232-10/+59
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@5813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-02-23eban2004-02-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb (parse_args): use optparse instead of getopts.nobu2004-02-232-34/+40
| | | | | | | | * instruby.rb (DOSISH): embedded path in batch files should not be prefixed by DESTDIR. [ruby-core:02186] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (init_mkmf): $INCFLAGS also should be lazy-evaluated.nobu2004-02-223-3/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: terminate options.nobu2004-02-224-4/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-02-22nobu2004-02-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: $extstatic is Array or nil now. [ruby-talk:93383]nobu2004-02-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/mailto.rb (URI::MailTo::to_s): should include fragment.akira2004-02-222-0/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: use optparse instead of getopts.nobu2004-02-225-40/+49
| | | | | | | * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c: corrected documentation format (rb_reg_initialize_m)gsinclair2004-02-222-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: documented, but needs more effort.gsinclair2004-02-212-7/+700
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: prefer relative path. [ruby-talk:93037]nobu2004-02-212-9/+31
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-02-21nobu2004-02-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/os2.c, missing/x68.c: typo fix. pointed out by greentea.nobu2004-02-213-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb (OpenStruct#initialize_copy): should not sharenobu2004-02-202-0/+11
| | | | | | | members. [ruby-dev:22966] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/init.rb (IRB::IRB.parse_opts): add -I option tomatz2004-02-205-3/+21
| | | | | | | | | | | | | irb. [ruby-dev:39243] * sprintf.c (rb_f_sprintf): sign bit extension should not be done if FPLUS flag is specified. [ruby-list:39224] * sprintf.c (rb_f_sprintf): do not prepend dots for negative numbers if FZERO is specified. [ruby-dev:39218] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wrong descriptions,pointed out by Bret Jolly,in the documents changed.shigek2004-02-202-8/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-02-20eban2004-02-201-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit miss. _nonobu2004-02-201-34/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): fix typo.nobu2004-02-202-2/+14
| | | | | | | | * win32/win32.c (CreateChild): first argument to CreateProcess() must have path, not just basename. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): fix typo.nobu2004-02-201-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * win32/win32.c (CreateChild): first argument to CreateProcess() must have path, not just basename. diff -U2 io.c io.c --- io.c 20 Feb 2004 01:02:56 -0000 +++ io.c 20 Feb 2004 02:56:08 -0000 @@ -2696,5 +2697,5 @@ rb_thread_sleep(1); break; - defined: + default: rb_sys_fail(pname); break; only in patch2: --- win32/win32.c 19 Feb 2004 09:08:23 -0000 1.112 +++ win32/win32.c 20 Feb 2004 02:49:04 -0000 @@ -14,2 +14,3 @@ #include "rubysig.h" +#include "dln.h" #include <fcntl.h> @@ -903,3 +904,14 @@ if (prog) { - shell = prog; + char *p = dln_find_exe(prog, NULL); + if (!p) { + shell = prog; + } + else { + shell = p; + while (*p) { + if ((unsigned char)*p == '/') + *p = '\\'; + p = CharNext(p); + } + } } git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Support visibility modifiers for attributesdave2004-02-193-7/+32
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb: documentedgsinclair2004-02-192-11/+58
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rinda/test_rinda.rb: DRb.start_service only once in testsuites.nahi2004-02-192-1/+6
| | | | | | | DRb.start_service could handle this. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/soap/mapping/rubytypeFactory.rb: should not dump singleton class.nahi2004-02-192-2/+8
| | | | | | | | [ruby-dev:22588] c = class << Object.new; class C; self; end; end; SOAPMarshal.dump(c) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: improved documentationgsinclair2004-02-192-30/+39
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c, win32/win32.h: fixed prototypes.nobu2004-02-193-34/+30
| | | | | | | * win32/win32.c (wait): same as waitpid() with -1. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typos (Doug Kearns)dave2004-02-194-3/+34
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-02-19eban2004-02-191-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: StringScanner#restsize is obsolete; use #rest_size ↵aamine2004-02-182-3/+35
| | | | | | | | | instead. * ext/strscan/strscan.c: StringScanner#matchedsize is obsolete; use #matched_size instead. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: don't use rb_eval_string, it defines classes under ↵aamine2004-02-182-3/+14
| | | | | | the module when required in module clauses. [ruby-dev:22951] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: merge documentation from 1.8 branch.aamine2004-02-182-5/+460
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed conflict indicatorgsinclair2004-02-181-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi-lib.rb: deprecated after 1.8.1gsinclair2004-02-185-0/+16
| | | | | | | | | * lib/getopts.rb: ditto * lib/importenv.rb: ditto * lib/parsearg.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Strip extraneous spaces from included filenamedave2004-02-182-1/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove O_NONBLOCK, thanks ayseki2004-02-182-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* import test_rinda.rbseki2004-02-183-0/+372
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/*: should not depend on $KCODE.nahi2004-02-1836-84/+32
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_sprintf.rb: added tests.usa2004-02-183-0/+82
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: need to include <olectl.h> on Cygwin.eban2004-02-182-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Modify ChangeLogocean2004-02-181-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): clean up.usa2004-02-182-74/+76
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-02-18usa2004-02-181-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rinda/rinda.rb: added documentation (from Hugh Sasse)gsinclair2004-02-173-3/+116
| | | | | | | * lib/rinda/tuplespace.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): preserve original val formatz2004-02-174-41/+63
| | | | | | | format_integer. [ruby-talk:92975] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/soap/marshal/test_marshal.rb, test/ruby/test_marshal.rb: do $:nahi2004-02-173-3/+21
| | | | | | | trick to share the testcase test/ruby/marshaltestlib.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/marshaltestlib.rb: common marshal testcase added.nahi2004-02-176-918/+512
| | | | | | | | | | | * test/ruby/test_marshal.rb: use above testsuite. * test/soap/marshal/test_marshal.rb: ditto. * test/soap/marshal/cmarshal.rb: removed (not used). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): $extout_prefix doesn't vary for libraries.nobu2004-02-173-11/+31
| | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@5751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c: ScanError may be (wrongly) garbage collected. ↵aamine2004-02-172-14/+58
| | | | | | | | | | | | | (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: http://svn.ruby-lang.org/repos/ruby/trunk@5750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (parse_args): delay expanding $(extout) until invokingnobu2004-02-173-8/+20
| | | | | | | | | | make. * lib/mkmf.rb (CLEANLIBS): should remove files have specific extensions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e