summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2003-11-08* test/wsdl/raa/*: add new testcase for WSDL loading, parsing and reading.nahi
* test/soap/marshal/*: backport from soap4r/1.5.1. all differences are for ruby/1.6. * lib/soap/*: backport from soap4r/1.5.1. all differences are for ruby/1.6. * lib/wsdl/data.rb, lib/wsdl/xmlSchema/data.rb: move definition of ArrayTypeAttrName from ::WSDL::XMLSchema::* to ::WSDL::*. [ruby-talk:84813] * lib/wsdl/soap/definitions.rb: element name typo in custom exception struct definition which is needed for wsdlDriver; camelCase -> underscore_name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-07(Pathname#parent): if self is `.', return `..'.akr
(Pathname#children): if self is `.', don't prepend self for a pathname in a result. (Pathname#join): re-implemented using Pathname#+. (Pathname#find): if self is `.', remove `./' prefix of yielding pathname. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-07Minor documentation fix.wew
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-07lib/pathname.rb (Pathname#+): if self or the argument is `.', return another.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-07* lib/pathname.rb (Pathname#+): return the argument if self is `.'.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06* eval.c (rb_load): allow interrupt during loaded programmatz
evaluation. [ruby-dev:21834] * hash.c (rb_hash_fetch): always warn if default argument and a block are supplied at the same time. [ruby-dev:21842] * hash.c (env_fetch): ditto. * array.c (rb_ary_fetch): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06* lib/optparse.rb (OptionParser::Completion#complete): default not tonobu
ignore case on completion. [ruby-talk:84726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05* lib/optparse.rb (OptionParser::Switch::PlacedArgument::parse):nobu
do not remove next argument if empty value is placed. * test/optparse: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05* lib/test/unit/ui/gtk/testrunner.rb: typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05* lib/monitor.rb: revert to the previous revision.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-04* lib/webrick/https.rb (HTTPRequest#parse): set @client_cert_chain.gotoyuzo
* lib/webrick/https.rb (HTTPRequest#meta_vars): create SSL_CLIENT_CERT_CHAIN_n from @client_cert_chain. * ext/openssl/ossl_ssl.c (ossl_ssl_get_peer_cert_chain): return nil if no cert-chain was given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-03* lib/racc/parser.rb: synchronize with Racc 1.4.4.aamine
* ext/racc/cparse/cparse.c: ditto. * ext/racc/cparse/cparse.c (parse_main): should abort when the length of LR state stack <=1, not ==0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-01* lib/webrick/ssl.rb: new option :SSLExtraChainCert.gotoyuzo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-31* lib/soap/mapping/factory.rb: mark marshalled basetype objects whennahi
@allow_original_mapping is true. multi-referencing basetype node is prohibited in SOAP/1.1 encoding but soap4r's original ruby object mapping requires basetype to be marked to detect self referencing loop. e.g. o = 1; o.instance_eval { @iv = o } soap4r's original mapping is only used through soap/marshal API. * test/soap/marshal/test_marshal.rb: add tests for self referencing immutable objects. * test/soap/calc/test_calc_cgi.rb: fix test name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-31* configure.in, lib/mkmf.rb: add RPATHFLAG for NetBSD. [ruby-dev:21791]eban
* bcc32/Makefile.sub, win32/Makefile.sub, win32/Makefile.sub: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30RD -> RDoc contributed by Lyle Johnsongsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30add DRbArray, and change yield. [ruby-dev:21773]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30* lib/soap/generator.rb: better XML pretty printing.nahi
* lib/soap/encodingstyle/soapHandler.rb: remove unnecessary namespace assignment in the element which has "encodingStyle" attribute, and add necessary namespace assignment for "arrayType" attribute. * test/soap/calc/test_calc_cgi.rb: take over $DEBUG to ruby process through CGI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30* io.c (READ_DATA_BUFFERED): new macro to detect whether stdiomatz
buffer filled. * io.c (rb_io_fptr_cleanup): move path deallocation to rb_io_fptr_finalize (finalizer called by GC). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30* lib/test/unit/autorunner.rb: make fox runners work.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29* eval.c (proc_invoke): single array value to normal Proc#callmatz
(i.e. not via lambda call), should be treated just like yield. [ruby-dev:21726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29* re.c (rb_reg_s_union, Init_Regexp): new method `Regexp.union'.akr
* lib/pathname.rb (realpath): examine Dir.pwd because it may have symlinks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29* eval.c (Init_Proc): taint preallocated exception objectmatz
sysstack_error. [ruby-talk:84534] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-29* parse.y (ret_args): node may be NULL. [ruby-talk:84530]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-24* hash.c (rb_hash_each): Hash#each should yield single value.matz
[ruby-talk:84420] * hash.c (env_each): ditto for ENV.each. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-23* lib/webrick/server.rb (GenericServer#start): should rescuegotoyuzo
IOError from IO::accept. [ruby-dev:21692] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):nobu
ignore tests which raised LoadError. * test/drb/drbtest.rb, test/ruby/test_beginendblock.rb, test/ruby/test_system.rb: avoid requiring same file twice. * test/drb/test_drbssl.rb, test/drb/test_drbunix.rb: should not use ARGV unless invoked directly. do not create test cases unless required libraries are available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-21* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):nobu
prepend the directory of target file to the load path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20* lib/debug.rb (debug_command): remove debug print.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-19* lib/pathname.rb (foreachline, dir_foreach): add obsolete warning.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-17* lib/generator.rb: Add rdoc documentation.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-17Reword and fix Overview.knu
It is not necessary to require 'test/unit/ui/console/testrunner'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-16consistent parentheses in assignment RHS.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-16* lib/debug.rb (DEBUGGER__::Context::debug_command): do not callmatz
debug_silent_eval() when $1 is not set. (ruby-bugs PR#1194) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-15* lib/soap/netHttpClient.rb: use URI::HTTP#request_uri instead ofnahi
instance_eval('path_query'). [ruby-list:38575] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-15* lib/cgi.rb (CGI::Cookie): tiny typo fix.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-15* marshal.c (w_object): dump extended modules as well.matz
* marshal.c (r_object0): TYPE_USRMARSHAL should restore extended modules before invoking marshal_load. these two fixes are done by Masatoshi Seki <m_seki@mva.biglobe.ne.jp>. * parse.y (yylex): argument parentheses preceded by spaces should be warned; not error. [ruby-talk:84103] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-14* lib/generator.rb: A new library which converts an internalknu
iterator to an external iterator. * lib/abbrev.rb: A new library which creates an abbreviation table from a list. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-14* lib/soap/baseData.rb: Introduce SOAPType as the common ancestor ofnahi
SOAPBasetype and SOAPCompoundtype. * lib/soap/generator.rb, lib/soap/element.rb, lib/soap/encodingstyle/*: Encoding methods signature change. Pass SOAPGenerator as a parameter. * lib/soap/mapping/*, test/soap/marshal/test_marshal.rb: Refactoring for better marshalling/unmarshalling support. Now I think SOAP marshaller supports all kind of object graph which is supported by Ruby's original marshaller. Of course there could be bugs as always. Find it. :-) * lib/soap/rpc/standaloneServer.rb: Set severity threshould to INFO. DEBUG is too noisy. * lib/xsd/datatypes.rb: DateTime#of is obsoleted. Use DateTime#offset. * test/wsdl/emptycomplextype.wsdl, test/xsd/xmlschema.xml: Avoid useless warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-13* lib/pathname.rb (realpath): make ELOOP check bit more robust.akr
(children): prepend self by default. (chroot): obsoleted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-13* string.c (str_new4): should not preserve FL_TAINT status in thematz
internal shared string. [ruby-dev:21601] * string.c (rb_str_new4): ditto. * eval.c: use EXIT_SUCCESS and EXIT_FAILURE for exit values. * process.c: ditto. [ruby-dev:38521] * lib/debug.rb (debug_command): should enter emacs mode when assigned any value to the environment variable "EMACS". On Meadow, (getenv "EMACS") is "meadow". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-11* lib/rexml/quickpath.rb (REXML::QuickPath::match):eban
escape '[' to avoid warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-11fix previous change.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-11* lib/pathname.rb (realpath): check existence of the file.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-11* lib/pathname.rb (realpath): re-implemented.akr
(realpath_root?, realpath_rec): removed git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-11* lib/pathname.rb (realpath_rec): fix handling of symlink to absoluteakr
path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-11* lib/monitor.rb: handle exceptions correctly. Thanks, Gennadyshugo
Bystritsky. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-10* Forgot to update the MANIFEST, WRT the removal of files from theser
rexml/encodings directory * Missed a regexp speed optimization in rexml/parsers/baseparser.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-10* Changes to the encoding mechanism. If iconv is found, it is used firstser
for encoding changes. This should be the case on all 1.8 installations. When it isn't found (<1.6), the native REXML encoding mechanism is used. This cleaned out some files, and tightened up the code a bit; and iconv should be faster than the pure Ruby code. * Changed deprecated assert_not_nil to assert throughout the tests. * Parse exceptions are a little more verbose, and extend RuntimeError. * Bug fixes to XPathParser * The Light API is still shifting, like the sands of the desert. * Fixed a new Ruby 1.8.0 warning, added some speed optimizations, and tightened error reporting in the base parser git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-08 * lib/test/unit.rb: removed installation instructions.ntalbott
* lib/test/unit/ui/testrunnermediator.rb: moved the run flag to a more central location. * lib/test/unit.rb: ditto. * lib/test/unit.rb: extracted the running code in to AutoRunner. * lib/test/unit/autorunner.rb: added. * lib/test/unit/collector/objectspace.rb: extracted common test collection functionality in to a module. * lib/test/unit/collector.rb: ditto; added. * test/testunit/collector/test_objectspace.rb: ditto. * lib/test/unit/collector/dir.rb: added. Supports collecting tests out of a directory structure. * test/testunit/collector/test_dir.rb: added. * test/runner.rb: simplified to use the new capabilities. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e