summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2005-06-07* lib/mkmf.rb (create_makefile): add .SUFFIXES from depend file.nobu
fixed: [ruby-dev:26294] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-31* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): shouldgotoyuzo
break the loop if the socket reached to EOF. [ruby-talk:142285] * lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): send response without reading the whole request body if keep-alive is diabled. [experimental] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-29add a test for [ruby-dev:26127].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-27* lib/webrick/cgi.rb (WEBrick::CGI::Socket#request_line):gotoyuzo
ENV["REQUEST_URI"] is better to get correct Request-URI than ENV["SCRIPT_NAME"] + ENV["PATH_INFO"]. [ruby-dev:26235] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-27* lib/mkmf.rb: use the semicolon as the path separatoreban
in the environment of MSYS. fixed: [ruby-dev:26232] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-26* lib/fileutils.rb (remove_entry_secure): add documentation.aamine
* lib/fileutils.rb (remove_entry_secure): should not invoke unlink(2) against a directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25* lib/fileutils.rb (rm_r): use lchown(2), not chown(2). [ruby-dev:26226]aamine
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25* lib/fileutils.rb (rm_r): does chown(2). [ruby-dev:26199]aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25* lib/open-uri.rb (OpenURI::Meta::RE_QUOTED_STRING): a content ofakr
quoted-string should be zero or more characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-24* numeric.c (fix_pow): support Fixnum ** Float case directlymatz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-22 * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.4.nahi
== 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-21* lib/fileutils.rb (rm_r): new option :secure (default = true).aamine
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-19* ext/readline/readline.c: supported libedit. fixed: [ruby-core:4858]shugo
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-19Merged in development from the main REXML repository.ser
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15* lib/pathname.rb (Pathname#unlink): use SystemCallError instead ofakr
Errno::EISDIR because EISDIR is not portable. [ruby-core:5001] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15use raise(exception) [ruby-dev:26164]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15* lib/pathname.rb (Pathname#unlink): unlink a symlink to a directoryakr
was failed. [ruby-core:4992] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14restored @progressocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13* ext/extmk.rb: keep srcdir unexpanded.nobu
* lib/mkmf.rb (create_makefile): quote topdir and hdrdir if necessary. fixed: [ruby-core:04932] * lib/mkmf.rb (configuration), {bcc32,win32,wince}/Makefile.sub: make also INSTALL_PROG and INSTALL_DATA system dependent. fixed: [ruby-core:04931] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12* lib/rdoc/parsers/parse_c.rb: more readability for mixingocean
progress "c..." and warning message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12* lib/rdoc/parsers/parse_c.rb: show parsing progress for C files.ocean
[ruby-core:4341] (based on Tilman Sauerbeck's patch) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12reverted (commit miss) [ruby-dev:26141]ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-11* eval.c (break_jump): break should not cross functions.matz
[ruby-list:40818] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-11* lib/tempfile.rb (Tempfile#unlink): fixed typo.ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-08* lib/profiler.rb: fixed "undefined method `[]' for nil:NilClass"ocean
[ruby-core:4775] [ruby-talk:140401] [ruby-dev:26118] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-07* lib/mkmf.rb (have_var): no libs argument is given.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-29* lib/webrick/cgi.rb: new methods WEBrick::CGI#[], WEBrick::CGI#loggergotoyuzo
and WEBrick::CGI#config. these are necessary to use an instance of WEBrick::CGI as the first argument of HTTPServlet#get_instance. (suggested by Tatsuki Sugiura) * lib/webrick/cgi.rb (WEBrick::CGI#initalize): set a dummy to @config[:ServerSoftware] if SERVER_SOFTWARE environment variable is not given. (WEBrick::CGI#start): req.path_info must be a String. (WEBrick::CGI::Socket#request_line): treat REQUEST_METHOD, PATH_INFO and SCRIPT_NAME to run in console. * lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape_path): should not use String#split("/"). it removes trailing empty path component. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-25* lib/rexml/encodings/SHIFT-JIS.rb: encoding and decoding wereocean
swapped. [ruby-core:4772] (patch from speakillof) * lib/rexml/encoding.rb: fixed indentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20* configure.in, lib/mkmf.rb, {bcc32,win32,wince}/Makefile.sub: improvenobu
C++ support. [ruby-dev:26089] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20* lib/net/http.rb: add rdoc.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20* lib/mkmf.rb (create_makefile): support platforms have file separatornobu
other than /. * {bcc32,win32,wince}/Makefile.sub (BUILD_FILE_SEPARATOR): separator of building platform. * {bcc32,win32,wince}/Makefile.sub (CP, INSTALL): use COPY command. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20* lib/net/http.rb: new method Net::HTTP.post_form.aamine
* lib/net/http.rb: new method Net::HTTPHeader#set_form_data and its alias #form_data=. * lib/net/http.rb: Net::HTTPHeader#add_header -> add_field (adjustted to Ruby 1.8). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20* lib/rdoc/parsers/parse_rb.rb (lex_init): use IRB module.eban
[ruby-core:04737] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-19* lib/ftools.rb (File.safe_unlink): do not modify a symlinked file.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-14* lib/fileutils.rb (remove_file): ignore exceptions caused by chmod.aamine
* lib/fileutils.rb (remove_dir): try to get rights to rmdir. [ruby-Bugs:1502] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-14 * lib/irb/ruby-lex.rb, lib/irb/slex.rb: bug fix of [ruby-Bugs-1745]keiju
* lib/irb/ext/loader.rb, lib/irb/ext/save-history.rb: fix location of @RCS_ID * lib/irb/cmd/help.rb: a lost of release IRB 0.9.5. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-14 * lib/irb/notifier.rb, lib/irb/output-method.rb, lib/irb/ext/history.rbkeiju
fixed warning of 'ruby -w' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 * doc/irb/irb.rd.ja: a lost of release IRB 0.9.5.keiju
* lib/irb/slex.rb: bug fix by [ruby-core :04707]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13* bin/irb lib/irb.rb lib/irb/...: IRB 0.9.5(new files)keiju
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 * bin/irb lib/irb.rb lib/irb/...: IRB 0.9.5.keiju
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13* lib/rss/rss.rb (RSS::VERSION): 0.1.3 -> 0.1.4.kou
* lib/rss/rss.rb (RSS::Element#converter): fixed converter transmission bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13* lib/optparse.rb (OptionParser#order!): delete debug output.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13* lib/optparse.rb (OptionParser#order!): call handlers iff matchesnobu
non-switch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-12* lib/optparse.rb (OptionParser#make_switch, OptionParser#order!):nobu
added non-option and end-of-args handler. [ruby-talk:136878] (EXPERIMENTAL git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-11adhoc patch for [druby-ja:123]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-11* lib/mkmf.rb (configuration): shouldn't output hdrdir twice.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09Applied Nobu's patch to the XML document encoding structure in REXML. Itser
passes all of REXML's native tests as well as a couple of others, and should fix potential threading issues. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08* ext/extmk.rb (extmake): hdrdir needs to be defined also innobu
Config::CONFIG. * lib/mkmf.rb (configuration, create_makefile): get rid of recursive macro reference. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-07* ext/extmk.rb (extmake): keep directory names in Makefile as macros.nobu
* lib/mkmf.rb (configuration, create_makefile): ditto. * lib/mkmf.rb (CXX_EXT): separate C++ extensions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-07* lib/rss/maker/dublincore.rb: _really_ supported multiple Dublinkou
Core items. * test/rss/rss-assertions.rb (assert_multiple_dublin_core): added an assertion for testing multiple Dublin Core items. * test/rss/test_maker_dc.rb (test_rss10_multiple): added a test for making multiple Dublin Core items. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e