summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/uri/common.rb (Kernel#URI): new global method for parsing URIs.akr2004-07-053-0/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-07-05nobu2004-07-051-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add ML number.ocean2004-07-051-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_yield, rb_f_catch): 4th argument to rb_yield_0()nobu2004-07-052-3/+8
| | | | | | | is a set of bit flags. [ruby-dev:23859] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb(DRbConn self.open): If socket pool is full, closeocean2004-07-042-4/+12
| | | | | | | the socket whose last-access-time is oldest. (and add new one) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* r1002 | ser | 2004-06-07 07:45:53 -0400 (Mon, 07 Jun 2004) | 2 linesser2004-07-045-14/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Workin' in the coal mine, goin' down, down, down... r1003 | ser | 2004-06-08 22:24:08 -0400 (Tue, 08 Jun 2004) | 7 lines * Entirely rewrote the validation code; the finite state machine, while cool, didn't survive the encounter with Interleave. It was getting sort of hacky, too. The new mechanism is less elegant, but is basically still a FSM, and is more flexible without having to add hacks to extend it. Large chunks of the FSM may be reusable in other validation mechanisms. * Added interleave support r1004 | ser | 2004-06-09 07:24:17 -0400 (Wed, 09 Jun 2004) | 2 lines * Added suppert for mixed r1005 | ser | 2004-06-09 08:01:33 -0400 (Wed, 09 Jun 2004) | 3 lines * Added Kou's patch to normalize attribute values passed through the SAX2 and Stream parsers. r1006 | ser | 2004-06-09 08:12:35 -0400 (Wed, 09 Jun 2004) | 2 lines * Applied Kou's preceding-sibling patch, which fixes the order of the axe results r1009 | ser | 2004-06-20 11:02:55 -0400 (Sun, 20 Jun 2004) | 8 lines * Redesigned and rewrote the RelaxNG code. It isn't elegant, but it works. Particular problems encountered were interleave and ref. Interleave means I can't use a clean FSM design, and ref means the dirty FSM design has to be modified during validation. There's a lot of code that could be cleaned up in here. However, I'm pretty sure that this design is reasonably fast and space efficient. I'm not entirely convinced that it is correct; more tests are required. * This version adds support for defines and refs. r1011 | ser | 2004-06-20 11:20:07 -0400 (Sun, 20 Jun 2004) | 3 lines * Removed debugging output from unit test * Moved ">" in Element.inspect r1014 | ser | 2004-06-20 11:40:30 -0400 (Sun, 20 Jun 2004) | 2 lines * Minor big in missing includes for validation rules r1023 | ser | 2004-07-03 08:57:34 -0400 (Sat, 03 Jul 2004) | 2 lines * Fixed bug #34, typo in xpath_parser. r1024 | ser | 2004-07-03 10:22:08 -0400 (Sat, 03 Jul 2004) | 9 lines * Previous fix, (include? -> includes?) was incorrect. * Added another test for encoding * Started AnyName support in RelaxNG * Added Element#Attributes#to_a, so that it does something intelligent. This was needed by XPath, for '@*' * Fixed XPath so that @* works. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-07-04eban2004-07-041-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/rss.rb: added copyright header.kou2004-07-042-1/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: added soap files.eban2004-07-031-16/+90
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * added files:nahi2004-07-03116-2945/+7262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/soap/header/* * 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/wsdl/raa2.4/* * 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/netHttpClient.rb * lib/soap/parser.rb * lib/soap/property.rb * lib/soap/soap.rb * lib/soap/streamHandler.rb * lib/soap/wsdlDriver.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/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/sampleStruct/server.rb * sample/wsdl/amazon/AmazonSearch.rb * sample/wsdl/amazon/AmazonSearchDriver.rb * test/soap/test_property.rb * test/soap/calc/test_calc_cgi.rb * test/wsdl/test_emptycomplextype.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. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-07-03eban2004-07-031-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/tkDND.rb: fix syntax error.eban2004-07-032-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tcltklib : bug fixnagai2004-07-01199-572/+14116
| | | | | | | * ext/tk/lib/tk : bug fix and add Tcl/Tk extension support libraries git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pstore.rb (PStore#transaction): get rid of opening in write modenobu2004-07-012-8/+10
| | | | | | | when read only transaction. [ruby-dev:23842] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): last modify isgotoyuzo2004-07-012-4/+1
| | | | | | | rollbacked for future compatibility. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-07-01eban2004-07-011-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_cipher.c (ossl_cipher_encrypt, ossl_cipher_decrypt):gotoyuzo2004-06-302-75/+88
| | | | | | | | | | | | | | | | re-implemnt (the arguments for this method is ). * ext/openssl/ossl_cipher.c (ossl_cipher_pkcs5_keyivgen): new method OpenSSL::Cipher::Cipher#pkcs5_keyivgen. it calls EVP_BytesToKey(). * ext/openssl/ossl_cipher.c (ossl_cipher_set_key_length): new method OpenSSL::Cipher::Cipher#key_len=. * ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): the type of argument is changed from integer to boolean. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add,gotoyuzo2004-06-3011-65/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EVP_CIPHER_CTX_set_padding, EVP_CipherFinal_ex, EVP_CipherInit_ex, EVP_DigestFinal_ex and EVP_DigestInit_ex. * ext/openssl/openssl_missing.c (EVP_CIPHER_CTX_copy): new function. * ext/openssl/openssl_missing.h (EVP_DigestInit_ex, EVP_DigestFinal_ex, EVP_CipherInit_ex, EVP_CipherFinal_ex, HMAC_Init_ex): new macro for OpenSSL 0.9.6. * ext/openssl/ossl_cipher.c (ossl_cipher_alloc, ossl_cipher_initialize, ossl_cipher_copy, ossl_cipher_reset, ossl_cipher_encrypt, ossl_cipher_decrypt, ossl_cipher_final, ossl_cipher_set_key, ossl_cipher_set_iv): replace all EVP_CipherInit and EVP_CipherFinal into EVP_CipherInit_ex and EVP_CipherFinal_ex. and EVP_CIPHER_CTX_init should only be called once. * ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): check for EVP_CIPHER_CTX_set_padding. * ext/openssl/ossl_cipher.c (Init_ossl_cipher): Cipher#<< is deprecated. * ext/openssl/ossl_digest.c: replace all EVP_DigestInit and EVP_DigestFinal into EVP_DigestInit_ex and EVP_DigestFinal_ex. and EVP_MD_CTX_init should only be called once. * ext/openssl/ossl_digest.c (digest_final): should call EVP_MD_CTX_cleanup to avoid memory leak. * ext/openssl/ossl_hmac.c (ossl_hmac_initialize): repalce HMAC_init into HMAC_init_ex. and HMAC_CTX_init is moved to ossl_hmac_alloc. * ext/openssl/ossl_hmac.c (hmac_final): should call HMAC_CTX_cleanup to avoid memory leak. * test/openssl/test_cipher.rb, test/openssl/test_digest.rb, test/openssl/test_hmac.rb: new file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_file.rb (test_fnmatch): some tests for File.fnmatchocean2004-06-302-0/+83
| | | | | | | are added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): should not be NULL. [ruby-core:03098]nobu2004-06-302-1/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-30eban2004-06-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_emitter_new): set buffer afterwhy2004-06-292-5/+9
| | | | | | | Data_Wrap_Struct to avoid possible GC. [ruby-talk:104835] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-29eban2004-06-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval_cmd, rb_thread_trap_eval): restore safe level.nobu2004-06-295-29/+59
| | | | | | | | | | | * gc.c (define_final, run_final): preserve and restore safe level for finalizers. [ruby-core:03058] * signal.c (signal_exec, rb_trap_exit, trap): preserve and restore safe level for signal handlers. [ruby-dev:23829] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_popen): update the document for the first argument andnobu2004-06-292-368/+378
| | | | | | | | | | exceptions. * process.c (rb_f_exec, rb_f_system): update the document for exceptions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: the patch posted by Jeff Mitchell.nobu2004-06-281-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, lib/mkmf.rb (LIBPATHFLAG): use double quotes due tonobu2004-06-283-2/+7
| | | | | | | DOSISH compilers. [ruby-core:03107] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-28eban2004-06-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* using "DRb.thread.join" instead of "gets"seki2004-06-2712-20/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-27nobu2004-06-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/rss/tdiary_plugin/rss-recent.rb: supported Hiki.kou2004-06-272-2/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-26nobu2004-06-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_mod_class_variables): class variables are no longernobu2004-06-262-9/+9
| | | | | | | inherited. [ruby-dev:23808] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (TRY_LINK): commit miss.nobu2004-06-261-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (TRY_LINK): export.nobu2004-06-261-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (libpathflag): should not quote here.nobu2004-06-262-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (libpathflag, find_header, dir_config): quote directorynobu2004-06-262-6/+8
| | | | | | | names if necessary. [ruby-talk:104505] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (aix): -b must come at the start of the command line,nobu2004-06-262-2/+10
| | | | | | | and -e must not appear while testing libraries. [ruby-talk:104501] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add an assertion.akr2004-06-251-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_fopen, rb_fdopen, rb_io_reopen): setvbuf() may returnnobu2004-06-252-3/+8
| | | | | | | positive value on failure. [ruby-dev:23792] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bring back _stklen for DJGPP [ruby-core:3084]michal2004-06-252-0/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/extconf.rb: check stricter. [ruby-talk:104501]nobu2004-06-252-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add lib/net/.document.eban2004-06-251-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_sockaddr): Socket#gethostbyname()matz2004-06-245-8/+40
| | | | | | | | should give us packed address, not struct sockaddr. [ruby-core:03053] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-25usa2004-06-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines whenusa2004-06-243-4/+4
| | | | | | | including version.h. [ruby-talk:104456] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak: remove RUBY_EXTERN lines when including version.h.usa2004-06-242-1/+6
| | | | | | | [ruby-talk:104456] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fread): return already read data when system call isnobu2004-06-242-4/+8
| | | | | | | interrupted. [ruby-talk:97206] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-06-24eban2004-06-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h: added declarations of ruby_version,shugo2004-06-232-0/+9
| | | | | | | ruby_release_date, ruby_platform. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e