summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2004-07-0322-0/+1879
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * added filesnahi2004-07-0338-731/+1258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/soap/attachment.rb * lib/soap/header * lib/soap/mimemessage.rb * lib/soap/rpc/httpserver.rb * lib/wsdl/soap/cgiStubCreator.rb * lib/wsdl/soap/classDefCreator.rb * lib/wsdl/soap/classDefCreatorSupport.rb * lib/wsdl/soap/clientSkeltonCreator.rb * lib/wsdl/soap/driverCreator.rb * lib/wsdl/soap/mappingRegistryCreator.rb * lib/wsdl/soap/methodDefCreator.rb * lib/wsdl/soap/servantSkeltonCreator.rb * lib/wsdl/soap/standaloneServerStubCreator.rb * lib/wsdl/xmlSchema/enumeration.rb * lib/wsdl/xmlSchema/simpleRestriction.rb * lib/wsdl/xmlSchema/simpleType.rb * lib/xsd/codegen * lib/xsd/codegen.rb * sample/soap/authheader * sample/soap/raa2.4 * sample/soap/ssl * sample/soap/swa * sample/soap/whois.rb * sample/soap/calc/samplehttpd.conf * sample/soap/exchange/samplehttpd.conf * sample/soap/sampleStruct/samplehttpd.conf * sample/wsdl/raa2.4 * sample/wsdl/googleSearch/samplehttpd.conf * test/openssl/_test_ssl.rb * test/soap/header * test/soap/ssl * test/soap/struct * test/soap/swa * test/soap/wsdlDriver * test/wsdl/multiplefault.wsdl * test/wsdl/simpletype * test/wsdl/test_multiplefault.rb * modified files * lib/soap/baseData.rb * lib/soap/element.rb * lib/soap/generator.rb * lib/soap/marshal.rb * lib/soap/netHttpClient.rb * lib/soap/parser.rb * lib/soap/processor.rb * lib/soap/property.rb * lib/soap/soap.rb * lib/soap/streamHandler.rb * lib/soap/wsdlDriver.rb * lib/soap/encodingstyle/handler.rb * lib/soap/encodingstyle/literalHandler.rb * lib/soap/encodingstyle/soapHandler.rb * lib/soap/mapping/factory.rb * lib/soap/mapping/mapping.rb * lib/soap/mapping/registry.rb * lib/soap/mapping/rubytypeFactory.rb * lib/soap/mapping/wsdlRegistry.rb * lib/soap/rpc/cgistub.rb * lib/soap/rpc/driver.rb * lib/soap/rpc/element.rb * lib/soap/rpc/proxy.rb * lib/soap/rpc/router.rb * lib/soap/rpc/soaplet.rb * lib/soap/rpc/standaloneServer.rb * lib/wsdl/data.rb * lib/wsdl/definitions.rb * lib/wsdl/operation.rb * lib/wsdl/parser.rb * lib/wsdl/soap/definitions.rb * lib/wsdl/xmlSchema/complexContent.rb * lib/wsdl/xmlSchema/complexType.rb * lib/wsdl/xmlSchema/data.rb * lib/wsdl/xmlSchema/parser.rb * lib/wsdl/xmlSchema/schema.rb * lib/xsd/datatypes.rb * lib/xsd/qname.rb * sample/soap/calc/httpd.rb * sample/soap/exchange/httpd.rb * sample/soap/sampleStruct/httpd.rb * sample/soap/sampleStruct/server.rb * sample/wsdl/amazon/AmazonSearch.rb * sample/wsdl/amazon/AmazonSearchDriver.rb * sample/wsdl/googleSearch/httpd.rb * test/soap/test_basetype.rb * test/soap/test_property.rb * test/soap/test_streamhandler.rb * test/soap/calc/test_calc.rb * test/soap/calc/test_calc2.rb * test/soap/calc/test_calc_cgi.rb * test/soap/helloworld/test_helloworld.rb * test/wsdl/test_emptycomplextype.rb * test/wsdl/axisArray/test_axisarray.rb * test/wsdl/datetime/test_datetime.rb * test/wsdl/raa/test_raa.rb * test/xsd/test_xmlschemaparser.rb * test/xsd/test_xsd.rb * summary * add SOAP Header mustUnderstand support. * add HTTP client SSL configuration and Cookies support (works completely with http-access2). * add header handler for handling sending/receiving SOAP Header. * map Ruby's anonymous Struct to common SOAP Struct in SOAP Object Model. it caused error. * add WSDL simpleType support to restrict lexical value space. * add SOAP with Attachment support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pstore.rb (transaction): safer backup scheme. [ruby-list:39102]nobu2004-07-012-100/+82
| | | | | | | | | | | | | | | | * lib/pstore.rb (commit_new): use FileUtils.copy_stream for Cygwin. [ruby-dev:23157] * lib/pstore.rb (transaction): allow overriding dump and load. [ruby-dev:23567] * lib/pstore.rb (PStore#transaction): get rid of opening in write mode when read only transaction. [ruby-dev:23842] * lib/yaml/store.rb: follow lib/pstore.rb's change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, lib/mkmf.rb (LIBPATHFLAG): use double quotes due tonobu2004-06-281-1/+1
| | | | | | | DOSISH compilers. [ruby-core:03107] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (libpathflag): should not quote here.nobu2004-06-261-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (libpathflag, dir_config): quote directory names ifnobu2004-06-261-2/+2
| | | | | | | necessary. [ruby-talk:104505] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed parsing of %r{} when generating source popupdave2004-06-221-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.shugo2004-06-221-1/+1
| | | | | | | Thanks, Rutger Nijlunsing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic::merge,akira2004-06-091-19/+31
| | | | | | | | | | | URI::Generic::route_from): accepts non-hierarchical URI. [ruby-dev:23631] * test/uri/test_generic.rb (TestGeneric::test_route, TestGeneric::test_merge): added tests for above changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: leading 0 padding of timestamp usec part.nahi2004-05-272-361/+349
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/csv.rb (CSV.parse): [CAUTION] behavior changed. in the past, CSV.parse accepts a filename to be read-opened (it was just a shortcut of CSV.open(filename, 'r')). now CSV.parse accepts a string or a stream to be parsed e.g. CSV.parse("1,2\n3,r") #=> [['1', '2'], ['3', '4']] * lib/csv.rb: CSV::Row and CSV::Cell are deprecated. these classes are removed in the future. in the new csv.rb, row is represented as just an Array. since CSV::Row was a subclass of Array, it won't hurt almost all programs except one which depended CSV::Row#match. and a cell is represented as just a String or nil(NULL). this change will cause widespread destruction. CSV.open("foo.csv", "r") do |row| row.each do |cell| if cell.is_null # using Cell#is_null p "(NULL)" else p cell.data # using Cell#data end end end must be just; CSV.open("foo.csv", "r") do |row| row.each do |cell| if cell.nil? p "(NULL)" else p cell end end end * lib/csv.rb: [CAUTION] record separator(CR, LF, CR+LF) behavior change. CSV.open, CSV.parse, and CSV,generate now do not force opened file binmode. formerly it set binmode explicitly. with CSV.open, binmode of opened file depends the given mode parameter "r", "w", "rb", and "wb". CSV.parse and CSV.generate open file with "r" and "w". setting mode properly is user's responsibility now. * lib/csv.rb: accepts String as a fs (field separator/column separator) and rs (record separator/row separator) * lib/csv.rb (CSV.read, CSV.readlines): added. works as IO.read and IO.readlines in CSV format. * lib/csv.rb: added CSV.foreach(path, rs = nil, &block). CSV.foreach now does not handle "| cmd" as a path different from IO.foreach. needed? * test/csv/test_csv.rb: updated. * test/ruby/test_float.rb: added test_strtod to test Float("0"). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#initialize): fix pathname initializationakr2004-05-271-1/+9
| | | | | | | by pathname. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_class): should not dump singleton class.matz2004-05-272-11/+9
| | | | | | | | | | | | | [ruby-dev:22631] * marshal.c (class2path): check anonymous class/module before checking referable, and allow singleton classes. * marshal.c (class2path): get class path and check referable. [ruby-dev:22588] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow "do" after "for". Fix up css for standalone code windowdave2004-05-263-10/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.c (syck_new_parser): clear parser on init.why2004-05-251-23/+176
| | | | | | | | | | | | | | thanks, ts. [ruby-core:02931] * ext/syck/token.c (sycklex_yaml_utf8): buffer underflow. thanks, ts. [ruby-core:02929] * lib/yaml/baseemitter.rb (indent_text): simpler flow block code. * lib/yaml.rb: added rdoc to beginning of lib. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test Kernel.open accepts pathname object.akr2004-05-241-0/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* SYSTEM identifiers must be absolutedave2004-05-242-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add '()' around parameters that don't have themdave2004-05-211-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (check_sizeof): define result size. [ruby-core:02911]nobu2004-05-201-2/+2
| | | | | | | | * lib/mkmf.rb (create_header): macro name should not include equal sign. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_eq): alway check if operands are NaN.matz2004-05-202-26/+25
| | | | | | | | | | [ruby-list:39685] * lib/cgi/session.rb: use LOCK_SH to read, and a few other improvements. [ruby-core:02328] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* At Ryan Davis' suggestion, honor visibility modifers if guarded by a ↵dave2004-05-201-1/+7
| | | | | | statement modifier git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_type): do not check pointer to incomplete type,nobu2004-05-201-2/+2
| | | | | | | | which always get compiled. [ruby-list:39683] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (setup_domain_and_type): honor duck typing.matz2004-05-171-8/+18
| | | | | | | | | [ruby-dev:23522] * ext/socket/socket.c (sock_s_getnameinfo): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* REXML version bump.ser2004-05-161-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed REXML bug #14: StreamParser reports doctype events to listeners again.ser2004-05-161-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Cross-ported the REXML changes (3.0.8) from the development branch to theser2004-05-1612-969/+1024
| | | | | | | stable branch. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2004-05-162-0/+167
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: removed fallback to pure Ruby parser.why2004-05-161-19/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/yaml/baseemitter.rb (indent_text): was forcing a mod value of zero at times, which kept some blocks from getting indentation. * lib/yaml/baseemitter.rb (node_text): rewriting folded scalars. * ext/syck/syck.h: reports style of scalars now, be they plain, block single-, or double-quoted. * ext/syck/syck.c: ditto. * ext/syck/gram.c: ditto. * ext/syck/node.c: ditto. * ext/syck/token.c: ditto. * ext/syck/rubyext.c (yaml_org_handler): symbols loaded only if scalar style is plain. * ext/syck/rubyext.c (yaml_org_handler): some empty strings were loaded as symbols. * test/yaml/test_yaml.rb (test_perl_regexp): updated test to match new regexp serialization. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb: Cosmetic documentation changes.gsinclair2004-05-161-9/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/text/unit.rb: Removed :nodoc: directive (it prevented effectivegsinclair2004-05-161-1/+11
| | | | | | | RDoc operation), and added file-level comment. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/test/unit/assertions.rb: remove "all" that it has forgotten to remove.eban2004-05-161-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/**/*.rb: Removed :nodoc: directives (many weregsinclair2004-05-1616-177/+145
| | | | | | | generating warnings, many were on private methods). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/telnet.rb (Net::Telnet::login): "options" can specifyakira2004-05-131-4/+8
| | | | | | | regexps for login prompt and/or password prompt. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/drb/observer.rb: remove debug print.eban2004-05-131-2/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/mailto.rb (URI::MailTo::to_s): should include fragment.akira2004-05-131-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_type, check_sizeof): replace unusable characters.nobu2004-05-121-2/+2
| | | | | | | [ruby-talk:99788] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Config): make it configurable withoutakr2004-05-121-35/+92
| | | | | | | external file such as /etc/resolv.conf. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Change symbol lookup scheme in HTML generationdave2004-05-101-4/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Search parent for unqualified constantsdave2004-05-101-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb: improved documentationgsinclair2004-05-095-418/+507
| | | | | | | | | | * lib/net/imap.rb: ditto * lib/net/pop.rb: ditto * lib/net/smtp.rb: ditto * lib/net/telnet.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow multiple arguments to includedave2004-05-071-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_list): Array() breaks pathes including "\n". ↵aamine2004-05-071-1/+1
| | | | | | [ruby-core:02843] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): too many line trace call. (ruby-bugs PR#1320)matz2004-05-079-22/+25
| | | | | | | | | | | | | | | | | | | | | | * numeric.c (flo_to_s): tweak output string based to preserve decimal point and to remove trailing zeros. [ruby-talk:97891] * string.c (rb_str_index_m): use unsigned comparison for T_FIXNUM search. [ruby-talk:97342] * hash.c (rb_hash_equal): returns true if two hashes have same set of key-value set. [ruby-talk:97559] * hash.c (rb_hash_eql): returns true if two hashes are equal and have same default values. * string.c (rb_str_equal): always returns true or false, never returns nil. [ruby-dev:23404] * io.c (rb_io_reopen): should use rb_io_check_io(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb (to_yaml): added instance variable handlingwhy2004-05-063-75/+197
| | | | | | | | | | | | | | | for Ranges, Strings, Structs, Regexps. * lib/yaml/rubytypes.rb (to_yaml_fold): new method for setting a String's flow style. * lib/yaml.rb (YAML::object_maker): now uses Object.allocate. * ext/syck/gram.c: fixed transfer methods on structs, broke it last commit. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (string): accept NIL.shugo2004-05-061-8/+27
| | | | | | | * lib/net/imap.rb (body_type_basic): allow body-fields omissions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't include &block if we have yield parametersdave2004-05-053-0/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use recv instead of recvfromseki2004-05-041-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/gserver.rb: documentedgsinclair2004-05-041-2/+76
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/README.txt: introduced for documentation purposesgsinclair2004-05-041-0/+31
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix parsing problem with yield within blockdave2004-05-032-1/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)2004-05-015-0/+1805
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e