summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-08-22 * lib/mkmf.rb (create_makefile): make OBJS depend on RUBY_EXTCONF_Hshyouhei
only if extconf.h is created. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/mkmf.rb (init_mkmf): should remove mkmf.log too.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/base64.rb (Base64::b64encode): should not specify /o optionshyouhei
for regular expression. [ruby-dev:31221] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/mkmf.rb (link_command, cc_command, cpp_command): do not expandshyouhei
::CONFIG which is an alias of MAKEFILE_CONFIG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-21 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle moreshyouhei
extensions. [ruby-dev:30972] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-21 * lib/net/imap.rb (ResponseParser#next_token): fixedshyouhei
error message. (backported from HEAD) * lib/net/imap.rb (ResponseParser#parse_error): fixed the condition not to refer @token.symbol unexpectedly. Thanks, Dick Monahan. (backported from HEAD) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-28Fixes a bug in the pretty printer related to an incomplete refactoring.ser
Merge code cleanups Fixes another bug related to the formatting code refactoring in 3.1.7 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-28 r1278@bean: ser | 2007-06-07 00:53:06 -0400ser
Fixed a double-encoding bug. This was a regression, related to ticket:48. r1292@bean: ser | 2007-07-25 08:19:36 -0400 r1279@bean: ser | 2007-06-09 23:19:02 -0400 Fixes ticket:89 -- encoding CP-1252 was broken. ISO-8859-15 had the same problem. Also in this patch is a fix to merge.rb (unused, but it should at least contain no errors), and a unit test for ticket:88. r1293@bean: ser | 2007-07-25 08:19:37 -0400 r1281@bean: ser | 2007-07-24 11:08:48 -0400 Addresses ticket:85 This is a major rewrite of the XML formatting code. The XML writers have all been extracted out of the classes and put into their own class containers. This makes writing parsers easier, and cleaner. There are three formatters, which correspond to the previous three XML writing modes: REXML::Formatters::Default Prints the XML document exactly as it was parsed REXML::Formatters::Pretty Pretty prints the XML document, destroying whitespace in the document REXML::Formatters::Transitive Pretty prints the XML document, preserving whitespace All of the write() functions have been deprecated (some are still used, but these will also go away) except the write() function on Document, which is left for convenience. To pretty print an XML document the canonical way: formatter = REXML::Formatters::Pretty.new( 5 ) # indent by 5 spaces formatter.write( document, output ) r1296@bean: ser | 2007-07-25 08:19:40 -0400 r1287@bean: ser | 2007-07-24 20:12:25 -0400 Applied patch from Jeff Barczewski. Note that this changes what the values of the name and IDs are from the previous behavior -- the values no longer include the quotes. This is the correct behavior, so I'm leaving it in, but it is not backwards compatible. Also fixes the serializer so that it outputs the doctype in a correct format (needed as a result of this change). r1297@bean: ser | 2007-07-25 08:38:38 -0400 Version update r1298@bean: ser | 2007-07-25 08:40:30 -0400 r1291@bean (orig r12517): ryan | 2007-06-11 20:38:57 -0400 Fixed typo in code. Fixes bug #10420 r1304@bean: ser | 2007-07-27 22:34:18 -0400 Whitespace changes only git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-22* lib/cgi.rb (CGI#[]): get rid of exceptions being raised.shyouhei
[ruby-dev:30740], Thanks Kentaro KAWAMOTO. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-22merge -r 12332:12336shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-22merge -c 12206shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-22merge -c 12193shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-22merge -c 12158shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-12* lib/cgi.rb (CGI::header): IIS >= 5.0 does not need the nphknu
assumption any more; submitted by MIYASAKA Masaru <alkaid AT coral.ocn.ne.jp> in [ruby-dev:30537]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-06Merge changes from ruby_1_8:knu
* ext/digest/lib/md5.rb (MD5::new, MD5::md5): Do not modify Digest::MD5. * ext/digest/lib/sha1.rb (SHA1::new, SHA1::sha1): Ditto. * lib/shell/process-controller.rb: fix thread synchronization problem for [ruby-dev:30477]. * ext/digest/lib/md5.rb (MD5::new, MD5::md5): Catch up with Digest's API changes; noted by: Kazuhiro Yoshida <moriq AT moriq.com> in [ruby-dev:30500]. * ext/digest/lib/sha1.rb (SHA1::new, SHA1::sha1): Ditto. * time.c (time_to_s): Back out the format changes; discussed in [ruby-dev:30495]. * ext/tk/sample/irbtkw.rbw: fails to exit process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-04merge a cosmetic changeknu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-04* lib/fileutils.rb (mv): could not move a directory betweenknu
different filesystems. [ruby-dev:30411] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-04* file.c (rb_file_s_utime): allow nil to set the current time.knu
* lib/fileutils.rb (touch): ditto, and added :mtime and :nocreate options. fixed: [ruby-talk:219037] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-03* lib/set.rb (Set#^, Set#&): Correct documentation. Those methodsknu
return sets, not arrays; noted by Oliver Frank Wittich <nietz AT mangabrain.de>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-28Merge changes between r11913 and r11943 from ruby_1_8.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-27Merge changes between r11871 and r11907 from ruby_1_8.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-24* lib/date/format.rb: updated based on date2 4.0.3.knu
(Use one instance variable instead of many) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-23* lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): Make theknu
Content-Length parameter optional for responses in xmlrpc/client.rb; suggested by Daniel Berger <Daniel.Berger@qwest.com> and approved by the maintainer. * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Add DateTime support to xmlrpc; approved by the maintainer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-20Merge trivial changes to reduce diffs from ruby_1_8.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-17* lib/.document: Apply patch for irb, e2mmap and README by Hugh Sasseknu
<hgs at dmu.ac.uk> from [ruby-core:10135] * lib/prettyprint.rb: Suppress RDoc for PrettyPrint test suite. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-15* lib/uri/ftp.rb: Revert the previous change pending discussion.knu
Describe the "previous change" in ChangeLog. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-15* lib/uri/generic.rb (URI::Generic::userinfo): Considering howknu
`scheme://user:@...', `scheme://:password@...' and `scheme://:@...' are parsed, an empty user name or password should be allowed and represented as it is. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-15* lib/uri/generic.rb (URI::Generic::userinfo): should supportknu
empty password. [ruby-core:10290] * lib/uri/generic.rb (URI::Generic::set_password): password can be cleared by nil. [ruby-core:10290] * lib/uri/common.rb (escape): regard second string argument as a character set properly. [ruby-dev:27692] * lib/uri: Lovely RDOC patches from mathew (metaATpoboxDOTcom). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-15* lib/cgi.rb (CGI::unescapeHTML): invalid decoding for singleknu
unescaped ampersand. a patch from Tietew <tietew+ruby-dev at tietew.net> in [ruby-dev:30292]. fixed: [ruby-dev:30289] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-10* lib/cgi.rb (CGI::QueryExtension::read_multipart): Properly parseknu
a quoted-string in a Content-Disposition value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-10* configure.in, ext/thread/extconf.rb, lib/thread.rb: Add aknu
configure option `--disable-fastthread', to choose the original, pure ruby version of the "thread" library instead of the new, much faster implementation in ext/thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-10* lib/thread.rb: Remove an ineffective part of the code.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-09Back out the previous commit which was unintended.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-09* ext/bigdecimal: Synchronize with trunk. Better functionknu
prototypes, removal of a useless method `!=', and document updates. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-23* lib/cgi.rb (CGI::QueryExtension::read_multipart): use == insteadmatz
of ===. [ruby-dev:30176] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-07Merge RDoc updates from matzruby 11502, 11503, 11504drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-07updated based on date2 4.0.1.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-03Revert r11453matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-03* io.c (ruby_dup): start GC on ENOMEM as well.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31Merge 11443, 11444 and 11445 from trunk.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-30updated based on date2 4.0.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-14* lib/irb/locale.rb (IRB::Locale::puts): typo fixed. a patch frommatz
NAKAMURA Usaku <usa@ruby-lang.org>. [ruby-dev:30012] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-09* lib/irb/locale.rb (IRB::Locale::search_file): ues File.exist?matz
instead of File.exists?. [ruby-dev:30000] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-07* lib/weakref.rb (WeakRef::__setobj__): should supportmatz
marshaling. [ruby-talk:228508] * lib/delegate.rb (Delegator::marshal_load): need to call __setobj__. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-03* lib/cgi.rb (CGI::QueryExtension::read_multipart): should quoteshugo
boundary. JVN#84798830 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-01* Cross-patch from Ruby CVS; mostly Nabu edits.ser
* Fixes ticket:68. ***** Note that this is an API change!!! ***** NOTE that this involves an API change! Entity declarations in the doctype now generate events that carry two, not one, arguments. * Implements ticket:15, using gwrite's suggestion. This allows Element to be subclassed. * Fixed namespaces handling in XPath and element. ***** Note that this is an API change!!! ***** Element.namespaces() now returns a hash of namespace mappings which are relevant for that node. * Fixes a bug in multiple decodings * The changeset 1230:1231 was bad. The default behavior is *not* to use the native REXML encodings by default, but rather to use ICONV by default. I'll have to think of a better way of managing translations, but the REXML codecs are (a) less reliable than ICONV, but more importantly (b) slower. The real solution is to use ICONV by default, but allow users to specify that they want to use the pure Ruby codecs. * Fixes ticket:61 (xpath_parser) * Fixes ticket:63 (UTF-16; UNILE decoding was bad) * Improves parsing error messages a little * Adds the ability to override the encoding detection in Source construction * Fixes an edge case in Functions::string, where document nodes weren't correctly converted * Fixes Functions::string() for Element and Document nodes * Fixes some problems in entity handling * Addresses ticket:66 * Fixes ticket:71 * Addresses ticket:78 NOTE: that this also fixes what is technically another bug in REXML. REXML's XPath parser used to allow exponential notation in numbers. The XPath spec is specific about what a number is, and scientific notation is not included. Therefore, this has been fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-06* lib/rss/0.9.rb (RSS::Rss): removed needless include.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-05updated based on date2 3.9.7.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-04* lib/net/imap.rb: accept NOMODSEQ. [ruby-core:9002]shugo
(backported from HEAD) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-02* lib/set.rb (Set#^): Fix XOR operation against a container thatknu
holds duplicate values. [issue: #6444] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e