summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 2005-05-29eban2005-05-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-dev:26127].akr2005-05-291-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_x509store.rb: add test for expired CRLgotoyuzo2005-05-282-7/+33
| | | | | | | and refine some assertions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-28eban2005-05-281-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509store.c (ossl_x509stctx_set_time): shouldgotoyuzo2005-05-272-12/+12
| | | | | | | not set internal flag directry. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line):gotoyuzo2005-05-274-5/+24
| | | | | | | | ENV["REQUEST_URI"] is better to get correct Request-URI than ENV["SCRIPT_NAME"] + ENV["PATH_INFO"]. [ruby-dev:26235] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: use the semicolon as the path separatoreban2005-05-272-5/+14
| | | | | | | in the environment of MSYS. fixed: [ruby-dev:26232] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-26eban2005-05-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (remove_entry_secure): add documentation.aamine2005-05-263-41/+86
| | | | | | | * lib/fileutils.rb (remove_entry_secure): should not invoke unlink(2) against a directory. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vms/vmsruby_private.c, vms/vmsruby_private.h: private routinesnobu2005-05-254-3/+75
| | | | | | | | | for VMS port are added. * eval.c (ruby_init): change to call VMS private intialization routine. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (rm_r): use lchown(2), not chown(2). [ruby-dev:26226]aamine2005-05-253-407/+599
| | | | | | | | | | | | * lib/fileutils.rb (cd): remove :noop option. (FEATURE CHANGE) * lib/fileutils.rb (cp_r): should copy symlink as symlink, for also tree root. (FEATURE CHANGE) * lib/fileutils.rb (cp_r): new option :dereference_root. * lib/fileutils.rb: new method remove_entry. * lib/fileutils.rb: new method remove_entry_secure. * lib/fileutils.rb: add documentation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add shortcut-methods of tk_call + tk_split_listnagai2005-05-252-1/+59
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: TkComm#tk_split_*list fail to split a kind of SJISnagai2005-05-2518-108/+289
| | | | | | | | | | | | | | | | | | | | | | | | | | strings. To avoid the trouble, add arguments to control converting encoding, and do split on a UTF8 string. * ext/tk/lib/multi-tk.rb: modify to attend encoding. * ext/tk/lib/remote-tk.rb: ditto. * ext/tk/lib/tk/itemconfig.rb: ditto. * ext/tk/lib/tk/listbox.rb: ditto. * ext/tk/lib/tk/namespace.rb: ditto. * ext/tk/lib/tk/panedwindow.rb: ditto. * ext/tk/lib/tk/text.rb: ditto. * ext/tk/lib/tk/textmark.rb: ditto. * ext/tk/lib/tk/texttag.rb: ditto. * ext/tk/lib/tk/variable.rb: ditto. * ext/tk/lib/tk/winfo.rb: ditto. * ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb: ditto. * ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: ditto. * ext/tk/lib/tk.rb: add TkWindow#lower_window/raise_window and Tk#lower_window/raise_window by reason of method-name conflict * ext/tk/lib/tk/canvas.rb: bug fix on TkCanvas#delete when given non-TkcItem arguments. * ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (rm_r): does chown(2). [ruby-dev:26199]aamine2005-05-252-8/+35
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI::Meta::RE_QUOTED_STRING): a content ofakr2005-05-252-2/+6
| | | | | | | quoted-string should be zero or more characters. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-25eban2005-05-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_pow): support Fixnum ** Float case directlymatz2005-05-244-1/+27
| | | | | | | | | | without coercing. [ruby-talk:142697] [ruby-talk:143054] * ruby.c (require_libraries): caused SEGV when continuation jumped in to the required library code. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/readline/test_readline.rb: do not test libedit.shugo2005-05-242-1/+6
| | | | | | | fixed: [ruby-dev:26217] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): stringnobu2005-05-232-1/+6
| | | | | | | literals to be matched non-greedy. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h: commit miss.eban2005-05-231-12/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-24eban2005-05-231-3/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/soap/calc: method name 'set' was able to crash with a class Set.nahi2005-05-235-16/+39
| | | | | | | | | | [ruby-dev:26210] * test/wsdl/document/test_rpc.rb: dateTime comparison failed under TZ=right/Asia/Tokyo (with leap second.) [ruby-dev:26208] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb: Framework support on MacOS X Tiger.nagai2005-05-233-13/+66
| | | | | | | * ext/tk/README.tcltklib: add description of Framework support options. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub ($(PROGRAM)): add dependency on $(LIBRUBY_SO).usa2005-05-232-1/+6
| | | | | | | [experimental] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-23eban2005-05-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (make_regexp): should not return junk address duringmatz2005-05-232-12/+18
| | | | | | | compile time. [ruby-dev:26206] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.4.nahi2005-05-22211-9358/+5977
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | == SOAP client and server == === for both client side and server side === * improved document/literal service support. style(rpc,document)/use(encoding, literal) combination are all supported. for the detail about combination, see test/soap/test_style.rb. * let WSDLEncodedRegistry#soap2obj map SOAP/OM to Ruby according to WSDL as well as obj2soap. closes #70. * let SOAP::Mapping::Object handle XML attribute for doc/lit service. you can set/get XML attribute via accessor methods which as a name 'xmlattr_' prefixed (<foo name="bar"/> -> Foo#xmlattr_name). === client side === * WSDLDriver capitalized name operation bug fixed. from 1.5.3-ruby1.8.2, operation which has capitalized name (such as KeywordSearchRequest in AWS) is defined as a method having uncapitalized name. (converted with GenSupport.safemethodname to handle operation name 'foo-bar'). it introduced serious incompatibility; in the past, it was defined as a capitalized. define capitalized method as well under that circumstance. * added new factory interface 'WSDLDriverFactory#create_rpc_driver' to create RPC::Driver, not WSDLDriver (RPC::Driver and WSDLDriver are merged). 'WSDLDriverFactory#create_driver' still creates WSDLDriver for compatibility but it warns that the method is deprecated. please use create_rpc_driver instead of create_driver. * allow to use an URI object as an endpoint_url even with net/http, not http-access2. === server side === * added mod_ruby support to SOAP::CGIStub. rename a CGI script server.cgi to server.rb and let mod_ruby's RubyHandler handles the script. CGIStub detects if it's running under mod_ruby environment or not. * added fcgi support to SOAP::CGIStub. see the sample at sample/soap/calc/server.fcgi. (almost same as server.cgi but has fcgi handler at the bottom.) * allow to return a SOAPFault object to respond customized SOAP fault. * added the interface 'generate_explicit_type' for server side (CGIStub, HTTPServer). call 'self.generate_explicit_type = true' if you want to return simplified XML even if it's rpc/encoded service. == WSDL == === WSDL definition === * improved XML Schema support such as extension, restriction, simpleType, complexType + simpleContent, ref, length, import, include. * reduced "unknown element/attribute" warnings (warn only 1 time for each QName). * importing XSD file at schemaLocation with xsd:import. === code generation from WSDL === * generator crashed when there's '-' in defined element/attribute name. * added ApacheMap WSDL definition. * sample/{soap,wsdl}: removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#intialize):gotoyuzo2005-05-223-2/+23
| | | | | | | | | should initialize session id context. [ruby-core:4663] * ext/openssl/ossl_ssl.c (ossl_sslctx_setup): add session id support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h, parse.y (ruby_pragma): removed. fixed: [ruby-dev:26198]nobu2005-05-223-10/+8
| | | | | | | * parse.y (parser_pragma): pragma name was ignored. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-22eban2005-05-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML link [ruby-dev:26100]aamine2005-05-211-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (rm_r): new option :secure (default = true).aamine2005-05-212-89/+208
| | | | | | | | | | * lib/fileutils.rb (remove_file, remove_dir): try chmod(700) only on Windows. * lib/fileutils.rb: does not depend on find.rb. * lib/fileutils.rb: new method chmod_R. * lib/fileutils.rb (chown_R): did not work. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: tds files were not deleted when DESTDIRocean2005-05-212-1/+6
| | | | | | | included '\' path delimiter. [ruby-dev:26193] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (readline_attempted_completion_function):shugo2005-05-202-3/+9
| | | | | | | return 2 items if completion_proc returns only 1 item (for libedit). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-20eban2005-05-191-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/extconf.rb: check rl_vi_editing_mode() andshugo2005-05-193-6/+34
| | | | | | | rl_emacs_editing_mode(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: supported libedit. fixed: [ruby-core:4858]shugo2005-05-195-124/+173
| | | | | | | | | | | | * ext/readline/extconf.rb: added new option --enable-libedit. * test/readline/test_readline.rb: added assertions for Readline::HISTORY. * lib/irb/input-method.rb: do not use Readline::HISTORY.pop. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-19eban2005-05-191-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merged in development from the main REXML repository.ser2005-05-1915-866/+1210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed bug #34, typo in xpath_parser. * 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. * Added xmlgrep to the bin/ directory. A little tool allowing you to grep for XPaths in an XML document. * Fixed a CDATA pretty-printing bug. (#39) * Fixed a buffering bug in Source.rb that affected the SAX parser This bug was related to how REXML determines the encoding of a file, and evinced itself by hanging on input when using the SAX parser. * The unit test for the previous patch. Forgot to commit it. * Minor pretty printing fix. * Applied Curt Sampson's optimization improvements * Issue #9; 3.1.3: The SAX parser was not denormalizing entity references in incoming text. All declared internal entities, as well as numeric entities, should now be denormalized. There was a related bug in that the SAX parser was actually double-encoding entities; this is also fixed. * bin/* programs should now be executable. Setting bin apps to executable * Issue 14; 3.1.3: DTD events are now all being passed by StreamParser Some of the DTD events were not being passed through by the stream parser. * #26: Element#add_element(nil) now raises an error Changed XPath searches so that if a non-Hash is passed, an error is raised Fixed a spurrious undefined method error in encoding. #29: XPath ordering bug fixed by Mark Williams. Incidentally, Mark supplied a superlative bug report, including a full unit test. Then he went ahead and fixed the bug. It doesn't get any better than this, folks. * Fixed a broken link. Thanks to Dick Davies for pointing it out. Added functions courtesy of Michael Neumann <mneumann@xxxx.de>. Example code to follow. * Added Michael's sample code. Merged the changes in from branches/xpath_V * Fixed preceding:: and following:: axis Fixed the ordering bug that Martin Fowler reported. * Uncommented some code commented for testing Applied Nobu's changes to the Encoding infrastructure, which should fix potential threading issues. * Added more tests, and the missing syncenumerator class. Fixed the inheritance bug in the pull parser that James Britt found. Indentation changes, and changed some exceptions to runtime exceptions. * Changes by Matz, mostly of indent -> indent_level, to avoid function/variable naming conflicts * Tabs -> spaces (whitespace) Note the addition of syncenumerator.rb. This is a stopgap, until I can work on the class enough to get it accepted as a replacement for the SyncEnumerator that comes with the Generator class. My version is orders of magnitude faster than the Generator SyncEnumerator, but is currently missing a couple of features of the original. Eventually, I expect this class to migrate to another part of the source tree. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (exc_exception): reverted to call Exception#initializenobu2005-05-182-1/+6
| | | | | | | directly. fixed: [ruby-dev:26177] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): check whether path is "" before callingeban2005-05-182-1/+6
| | | | | | | do_opendir. [ruby-dev:26183] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (NtInitialize): fix typo.usa2005-05-182-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-18eban2005-05-181-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): get rid of using String. [ruby-dev:26180]nobu2005-05-184-55/+69
| | | | | | | | * eval.c (ruby_options), win32/win32.c (NtInitialize): move argument intialization back. [ruby-dev:26180] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix typo.usa2005-05-171-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-05-17usa2005-05-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (unixtime_to_filetime): use localtime() instaed ofusa2005-05-172-1/+6
| | | | | | | gmtime() when using FileLocalTimeToFileTime(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_spawn_v): use rb_w32_aspawn on Win32.nobu2005-05-162-7/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (pragma_encoding): add prototype to suppress false warningnobu2005-05-162-1/+5
| | | | | | | by VC. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_class_init_copy): singleton class is disallowed to copy,nobu2005-05-162-1/+7
| | | | | | | from its definition. fixed: [ruby-talk:142749] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e