summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* should escape dot.nobu2004-02-171-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rexmlparser.rb: REXML version may be 4 digits.nobu2004-02-172-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_emitter_end_object): fix inline document.usa2004-02-171-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_emitter_end_object): takes only one arg.usa2004-02-172-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/encodings/SHIFT_JIS: wrong library name.nobu2004-02-162-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Issue11: null context causing indentation crashser2004-02-162-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed Issue7: DocType with external IDs was not being quoted.ser2004-02-163-36/+4
| | | | | | | SHIFT_JIS now merely includes Shift-JIS git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): care that another thread replace NODE_DREGX_ONCEakr2004-02-162-0/+8
| | | | | | | to NODE_LIT. [ruby-dev:22920] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-02-17eban2004-02-161-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb: new module FileUtils::DryRun.aamine2004-02-162-9/+35
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: document reduction. [ruby-core:02429]nahi2004-02-163-775/+437
| | | | | | | | | * test/yaml/test_yaml.rb: added 0..1 test with "0".."1" on display. it should be defined that the specification about what kind of Range is supported in ruby's custom type in YAML. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/generator.rb: corrected doc formatgsinclair2004-02-162-7/+15
| | | | | | | | * lib/rinda/rinda.rb: added documentation (from Hugh Sasse) * lib/rinda/tuplespace.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: show more warnings. (refering to mingw)ocean2004-02-163-2/+8
| | | | | | | * bcc32/setup.mak: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): should create *.pdb on ext/,usa2004-02-163-2/+12
| | | | | | | | | | | | | not .ext/. * win32/Makefile.sub (config.status): convert the name of import library. * lib/mkmf.rb (create_makefile): now don't need to remove $(TARGET).lib. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check functions, fork spawnv.nobu2004-02-167-393/+549
| | | | | | | | | | | | | | | | | | | | | | | | | | * io.c (rb_io_s_popen): accept argv not only single command line. * process.c (rb_proc_exec_n): export. * process.c (rb_check_argv): check if arguments are safe to invoke. * process.c (rb_fork): retry to fork. * process.c (rb_spawn): spawn child process asynchronously. * process.c (rb_f_system): raise an exception if the command could not execute. * win32/win32.c (rb_w32_argv_size): count necessary size for joined arguments. * win32/win32.c (rb_w32_join_argv): join arguments with quoting. * win32/win32.c (rb_w32_pipe_exec, rb_w32_spawn, rb_w32_aspawn): accept program name adding to command line. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/racc/parser.rb: add note for Racc full package.aamine2004-02-162-1/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/racc/cparse/README: new file.aamine2004-02-163-0/+17
| | | | | | | * ext/racc/cparse/MANIFEST: add README. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_s_list): new method Iconv.listnobu2004-02-163-10/+96
| | | | | | | (libiconv only). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e