summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* merges r22567 from trunk into ruby_1_9_1.yugui2009-03-031-1/+1
| | | | | | | | -- * lib/fileutils.rb (mv): added description for the case of different partitions. [ruby-talk:329072] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22247 from trunk into ruby_1_9_1.yugui2009-02-221-0/+1
| | | | | | update rdoc [ruby-core:20407] #835 git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21998 from trunk into ruby_1_9_1.yugui2009-02-221-4/+55
| | | | | | | * lib/net/imap.rb: validate data before sending to a server. [ruby-core:20320] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21996 from trunk into ruby_1_9_1.yugui2009-02-221-2/+2
| | | | | | | * lib/net/imap.rb (hmac_md5): should use String#ord to get ascii code from the one-character string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21933 from trunk into ruby_1_9_1. win64 support.yugui2009-02-024-12/+6
| | | | | | | | | | | | | | | | | | | | | | * lib/xmlrpc/server.rb (Server#serve): gets rid of hardcoded platform names. * lib/resolv.rb (Resolv::Hosts::DefaultFileName), (Resolv::DNS::Config.default_config_hash): tries win32/resolv on mswin64 too. * lib/rubygems/specification.rb (Gem::Specification#ruby_code): aded mswin64. * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command): spawn is better to start a process in background. * ext/extmk.rb: uses FNM_SYSCASE. * instruby.rb: installs win32.h on mswin64 platform. [ruby-core:21722] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21871 from trunk into ruby_1_9_1.yugui2009-01-292-40/+20
| | | | | | | | | | | | | | | * lib/rake.rb (FileUtils#rake_system): no longer needs workaround on Windows. [ruby-core:21339] * lib/rake/win32.rb (Rake::Win32#rake_system): ditto. * lib/rake/win32.rb (Rake::Win32#win32_system_dir): no longer needs environment variables other than APPDATA now. * lib/rake.rb (Rake::Application#standard_system_dir): uses platfrom specific definition on Windows system. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21783 from trunk into ruby_1_9_1.yugui2009-01-281-1/+1
| | | | | | | * lib/mkmf.rb (create_makefile): should point correct path to ruby.h and defines.h. [ruby-core:21570] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21766 from trunk into ruby_1_9_1.yugui2009-01-281-1/+1
| | | | | | | * lib/mkmf.rb (create_makefile):fixed the variables order because converter proc refers the separator. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21764 and r21765 from trunk into ruby_1_9_1.yugui2009-01-283-29/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in, win32/Makefile.sub (RMDIRS): remove directory and parents. * Makefile.in, win32/Makefile.sub (distclean-rdoc): added to remove temprary rdoc. * Makefile.in, win32/Makefile.sub (distclean): removes extout directory. * Makefile.in, win32/Makefile.sub (clean-ext): skips non-existent directories. * common.mk (clean, distclean): cleans rdoc. * common.mk (clean-extout): removes extout directory. * configure.in (RMDIRS, RMALL): added to clean extout. * lib/fileutils.rb (FileUtils#rmdir): added :parents option. * lib/mkmf.rb (create_makefile): cleans installed files at clean instead of distclean. * lib/mkmf.rb (create_makefile): added clean-so and clean-rb. * lib/mkmf.rb (def init_mkmf): added DISTCLEANDIRS. * lib/un.rb (rmdir): added -p option. * tool/rmdirs, win32/rmdirs.bat: removes directory and the parents. * win32/rm.bat: added -r option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21752 from trunk into ruby_1_9_1.yugui2009-01-281-6/+6
| | | | | | | * lib/mkmf.rb (configuration): tools under the top source directory are not installed, so unusable outside extmk.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21749 and r21750 from trunk into ruby_1_9_1.yugui2009-01-281-5/+26
| | | | | | | | | | | | | * lib/mkmf.rb (mkintpath): new function which converts native path to format acceptable in Makefile. * lib/mkmf.rb (configuration): convers srcdir, topdir and hdrdir. a patch by Alexey Borzenkov <snaury AT gmail.com> at [ruby-core:21448]. -- * lib/mkmf.rb (configuration): leaves PATH_SEPARATOR unchanged. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21748 from trunk into ruby_1_9_1.yugui2009-01-281-6/+3
| | | | | | * lib/mkmf.rb (try_func): got rid of c-mode confusion. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21740 from trunk into ruby_1_9_1.yugui2009-01-281-6/+8
| | | | | | | * lib/mkmf.rb (create_makefile): removes installed files under extout at distclean. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21739 from trunk into ruby_1_9_1.yugui2009-01-281-0/+2
| | | | | | | * lib/cgi/core.rb (CGI.parse): generate only key on params hash if request have only key uri parameters. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges a part of r21736 from trunk into ruby_1_9_1.yugui2009-01-281-2/+2
| | | | | | | * lib/rubygems/installer.rb (Gem::Installer#initialize): fixed typos. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/path.rb: Gem::Enable was removed.yugui2009-01-201-2/+1
| | | | | | | | Use just defined?(Gem). And this prevents unexpected directory creation at installation. [ruby-core:20990] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Reverts r21598 and r21599 because the original behavior isyugui2009-01-201-6/+0
| | | | | | intentional. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb: changes style of the rdoc for suppressingyugui2009-01-171-243/+243
| | | | | | warning. [ruby-core:21117] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21625 from trunk into ruby_1_9_1.yugui2009-01-171-0/+12
| | | | | | | * lib/irb/xmp.rb: multilingualizes XMP::StringInputMethod. [ruby-core:21383]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/minitest/unit.rb: temporarily merges Kouji's patch withoutyugui2009-01-161-1/+1
| | | | | | | | maintainer's permission in order to release 1.9.1 RC2. [ruby-core:21364] . Patch by Takao Kouji <kouji AT takao7.net>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/minitest/test_mini_test.rb: the number of assertions must beyugui2009-01-161-0/+6
| | | | | | | | | | exactly equal to the number of assertion method calls that the end-user would write. [ruby-dev:37703] * lib/minitest/unit.rb: ditto. Patch by David Flanagan <david AT davidflanagan.com>. [ruby-core:21350] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21570 from trunk into ruby_1_9_1.yugui2009-01-151-3/+3
| | | | | | | | * lib/debug.rb: as wanabe-san pointed out, set_trace_func should be completely final task in debug.rb. Bug #847 [ruby-core:20449] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21496 from trunk into ruby_1_9_1.yugui2009-01-151-13/+11
| | | | | | | | | | * lib/ostruct.rb (OpenStruct#inspect): fixed the recursion check. Patch by Kornelius Kalnbach. [ruby-core:20992]. * test/ostruct/test_ostruct.rb: test for inspect. Patch by Kornelius Kalnbach. [ruby-core:20992]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21485 from trunk into ruby_1_9_1.yugui2009-01-151-2/+2
| | | | | | | | * lib/irb/input-method.rb: IRB did not prompt for MSwin32. [ruby-dev:37686]. Patch by arton <artonx AT yahoo.co.jp>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21449 from trunk into ruby_1_9_1.yugui2009-01-121-3/+9
| | | | | | | * lib/test/unit/assertions.rb (assert_nothing_raised): removes the current trace to get rid of an issue of MiniTest::Unit#location. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21431 from trunk into ruby_1_9_1.yugui2009-01-121-34/+0
| | | | | | remove PercentScanner. fixed % after %> bug. [ruby-dev:37751] [Bug #997] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21363 from trunk into ruby_1_9_1. But r21312 is not merged.yugui2009-01-121-5/+1
| | | | | | | * instruby.rb (gem), lib/rubygems/defaults.rb (Gem.default_dir): use version invariant configuration. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21376 from trunk into ruby_1_9_1.yugui2009-01-091-0/+1
| | | | | | | * lib/test/unit/assertions.rb (assert_no_match): don't count up as two assertions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI.redirectable?): reverted https redirection.akr2009-01-071-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21297 from trunk into ruby_1_9_1.yugui2009-01-041-1/+3
| | | | | | | | | * ext/extmk.rb (extmake): does not use both of makefile.rb and extconf.rb at the same time. * lib/mkmf.rb (DLLIB): depends on Makefile. [ruby-core:21096] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20850, r17881, r16811, r16763, r16748, r15829, r15794 and r15698yugui2009-01-041-118/+187
| | | | | | from ruby_1_8 into ruby_1_9_1.. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21276 from trunk into ruby_1_9_1.yugui2009-01-041-2/+2
| | | | | | * lib/singleton.rb: fix documentation. [ruby-core:21038] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21221 from trunk into ruby_1_9_1.yugui2009-01-011-3/+3
| | | | | | * lib/singleton.rb: fix indentation of RDoc text. [ruby-core:21029] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21188 from trunk into ruby_1_9_1.yugui2008-12-301-2/+2
| | | | | | Imported minitest 1.3.1 r4506. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21170 from trunk into ruby_1_9_1.yugui2008-12-301-6/+45
| | | | | | | | | | | | | | | | | | | | | | | * lib/erb.rb (ERB): m17n of ERB. adds rdoc. fixes #712. c.f. [ruby-dev:37516]. * lib/erb.rb (ERB::Compiler#compile): recognizes magic comments. returns a pair of compiled script and its script encoding. * lib/erb.rb (ERB#set_eoutvar): make generated scripts return a string in correct encoding. * lib/erb.rb (ERB#def_method): use Kernel#eval for encoding-awareness of the evaluated string. * bin/erb.rb (ERB::Main.run): adds -E and -U options. String is no longer Enumerable. * man/erb.1: new manapage. * test/erb/test_erb_m17n.rb: new test case for m17n features. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21104 from trunk into ruby_1_9_1.yugui2008-12-282-9/+14
| | | | | | * Imported minitest 1.3.1 r4505. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21087 from trunk into ruby_1_9_1.yugui2008-12-281-1/+1
| | | | | | | * lib/open-uri.rb (OpenURI.redirectable?): permit https redirection. patch from Roman Shterenzon. [ruby-core:20485] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21074 from trunk into ruby_1_9_1.yugui2008-12-271-5/+19
| | | | | | | * lib/csv.rb: Using a more robust transcoding scheme to produce ASCII compatible inspect() messages. [ruby-dev:37591] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21066 from trunk into ruby_1_9_1.yugui2008-12-261-6/+11
| | | | | | | | | | * lib/optparse.rb (OptionParser::List#summarize): gives priority to latter switches. [ruby-dev:36692] * lib/optparse.rb (OptionParser#summarize): do not append unnecessary line terminator. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/input-method.rb (IRB::StdioInputMethod#initialize):yugui2008-12-261-1/+0
| | | | | | | removed a 'p' for debugging. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20798 and r20800 from trunk into ruby_1_9_1.yugui2008-12-261-1/+1
| | | | | | | * lib/minitest/unit.rb (MiniTest::Assertions#assert_instance_of): should assert by instance_of?, not ===. [ruby-dev:37458] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20986 from trunk into ruby_1_9_1.yugui2008-12-251-1/+1
| | | | | | * lib/rdoc/parser.rb (RDoc::Parser.binary?): should read in binary mode. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20965 from trunk into ruby_1_9_1.yugui2008-12-251-1/+5
| | | | | | | | | | | * configure.in (Makefile): removes GNU make specific files on distclean. * Makefile.in (distclean-ext): removes extension directories. * lib/mkmf.rb (try_do): removes conftest.dSYM git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20943 from trunk into ruby_1_9_1.yugui2008-12-251-1/+5
| | | | | | | * lib/test/unit/assertions.rb (assert_equal): show small differences for Regexp and Float. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20938 from trunk into ruby_1_9_1.yugui2008-12-251-0/+2
| | | | | | * lib/mathn.rb: Math.sqrt(NaN) should be NaN. [ruby-dev:37537] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20932 from trunk into ruby_1_9_1.yugui2008-12-251-2/+2
| | | | | | Don't coalesce adjacent comment blocks. [bug#901] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20924 from trunk into ruby_1_9_1.yugui2008-12-251-5/+2
| | | | | | Fix documentation. [bug#827] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20915 from trunk into ruby_1_9_1.yugui2008-12-251-0/+1
| | | | | | | * lib/test/unit/assertions.rb (assert_nothing_raised): increment assertion count. [ruby-dev:37480] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20908 from trunk into ruby_1_9_1.yugui2008-12-251-0/+1
| | | | | | | * lib/rake.rb (Rake::MultiTask): invoke_prerequisites should be private. a patch from okkez in [ruby-dev:37399] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20907 from trunk into ruby_1_9_1.yugui2008-12-251-2/+2
| | | | | | | | | | | * lib/rake.rb (Rake::FileList#egrep): change open mode to "rb", i.e. default to binary. [ruby-dev:37385] * lib/rake.rb (Rake::FileList#egrep): allow specifying reading encoding, e.g. FileList['*.rb'].egrep(/require/, encoding: "ascii-8bit") git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e