summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* merges r24553 from trunk into ruby_1_9_1.yugui2009-10-281-2/+1
| | | | | | | | -- * lib/csv.rb: Change magic comment to US-ASCII in order to make literals as US-ASCII. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24531 from trunk into ruby_1_9_1.yugui2009-10-251-1/+1
| | | | | | | | -- * lib/delegate.rb (Delegator#method_missing): __FILE__ may contain multi-byte characters. a patch from Kenta Murata in [ruby-dev:39066]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24396 from trunk into ruby_1_9_1.yugui2009-08-081-3/+3
| | | | | | | | | | -- * lib/pp.rb (guard_inspect_key): untrust internal hash to prevent unexpected SecurityError. * test/ruby/test_object.rb: add a test for [ruby-dev:38982]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24368 from trunk into ruby_1_9_1.yugui2009-08-081-4/+17
| | | | | | | | -- * lib/README: updated. a patch from Daniel Bovensiepen. [ruby-core:24693] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24341 from trunk into ruby_1_9_1.yugui2009-08-081-1/+1
| | | | | | | | -- * lib/securerandom.rb (SecureRandom.random_bytes): return string should be ASCII-8BIT. [ruby-core:24640] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24258 from trunk into ruby_1_9_1.yugui2009-08-081-0/+38
| | | | | | | | -- * lib/irb/ruby-lex.rb: make irb be able to parse string_dvar. [ruby-core: 24051] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24229 and r24233 from trunk into ruby_1_9_1.yugui2009-07-263-18/+42
| | | | | | | | | | -- * lib/irb.rb, lib/irb/init.rb, lib/irb/ext/save-history.rb: add IRB::irb_at_exit. no use finalizer saving history. [ruby-dev-38563] -- * lib/irb.rb: forget svn commit. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24226 from trunk into ruby_1_9_1.yugui2009-07-261-1/+1
| | | | | | | | -- * lib/tracer.rb: no show lines unkonwn line number. [ruby-core:22096], no trace display c-call and c-return as default. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24219 from trunk into ruby_1_9_1.yugui2009-07-261-1/+1
| | | | | | | -- * lib/tracer.rb: toplevel caller exists now. [ruby-core:24454] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24211 from trunk into ruby_1_9_1.yugui2009-07-261-3/+2
| | | | | | | | -- * lib/matrix.rb (Matrix#rank): revert a part of r20859 to avoid infinite loop. [Bug #1020] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20385 from trunk into ruby_1_9_1.yugui2009-07-171-18/+111
| | | | | | | | -- * lib/foerwardable.rb: should be usable def_single_delegator for Class and Module. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24091 from trunk into ruby_1_9_1.yugui2009-07-151-1/+6
| | | | | | | | | | | -- * lib/prime.rb (Prime#prime_division): now decomposes negative integer into a decomposition with element [-1, 1]. * test/test_prime.rb: test for it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24088 from trunk into ruby_1_9_1.yugui2009-07-151-1/+1
| | | | | | | | -- * lib/tempfile (Tempfile.open): rdoc. patch by Nobuhiro IMAI. #1694 git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r24065 from trunk into ruby_1_9_1.yugui2009-07-131-1/+1
| | | | | | | -- * lib/pstore.rb (PStore#on_windows): fixed typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23849 from trunk into ruby_1_9_1.yugui2009-07-125-0/+0
| | | | | | | -- * lib/rake.rb, lib/rubygems/custom_require.rb, lib/rubygems/digest/*.rb: not executable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23774 from trunk into ruby_1_9_1.yugui2009-06-211-1/+3
| | | | | | | | -- * lib/fileutils.rb (FileUtils::Entry_#copy_file): open with default umask. [ruby-core:23952] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23754 from trunk into ruby_1_9_1.yugui2009-06-211-6/+6
| | | | | | | | | -- * lib/monitor.rb (MonitorMixin::extend_object): should use #__send__ instead of #send to avoid possible name conflict. [ruby-core:23907] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23715 from trunk into ruby_1_9_1.yugui2009-06-211-1/+1
| | | | | | | | -- * lib/webrick/httputils.rb (parse_form_data): escape boundary of multipart/form-data when embed in regexp. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23665 from trunk into ruby_1_9_1.yugui2009-06-211-2/+2
| | | | | | | | -- * lib/prime.rb: documentation typo fixed. a patch from okkez. [ruby-dev:38586] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23661 from trunk into ruby_1_9_1.yugui2009-06-211-0/+1
| | | | | | | | | | -- * dir.c (dir_s_getwd): directory path's encoding should be filesystem's one. * lib/tmpdir.rb: ditto (but not finished yet.) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23658 from trunk into ruby_1_9_1.yugui2009-06-211-1/+1
| | | | | | | | -- * lib/cmath.rb (log10): raised exception when the given number is a negative real. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23560 from trunk into ruby_1_9_1.yugui2009-06-201-1/+1
| | | | | | | | -- * lib/cgi/core.rb (CGI::HTTP_STATUS): typo fixed. a patch from Nobuhiro IMAI. [ruby-dev:38538] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23494 from trunk into ruby_1_9_1.yugui2009-05-221-1/+4
| | | | | | | | -- * lib/tempfile.rb (Tempfile#unlink): close first for Windows. a patch from Florian Frank. [ruby-core:23505] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23451 from trunk into ruby_1_9_1.yugui2009-05-224-12/+28
| | | | | | | | -- * lib/rss/parser.rb, test/test_parser_1.0.rb: fix foaf:Image element causes parse error even if ignore_unknown_element mode. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23447 from trunk into ruby_1_9_1.yugui2009-05-221-1/+1
| | | | | | | -- * lib/rss/maker/entry.rb: fix a typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23446 from trunk into ruby_1_9_1.yugui2009-05-221-0/+1
| | | | | | | | | -- * lib/rss/maker/feed.rb, test/test_maker_atom_entry.rb, test/test_maker_atom_feed.rb: fix duplicated dc:date. Reported by Kazuhiro NISHIYAMA. Thanks!!! [ruby-list:46014] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23286 from trunk into ruby_1_9_1.yugui2009-05-111-1/+1
| | | | | | | | -- * lib/optparse.rb (OptionParser#parse_in_order): do not make an option from non-option argument. [ruby-dev:38333] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23129 from trunk into ruby_1_9_1.yugui2009-04-192-11/+6
| | | | | | | | | | | | | | | | | -- * lib/irb/completion.rb (IRB::InputCompletor::Operators): Add overloadable negative operators. * lib/irb/ruby-lex.rb (RubyLex#lex_init): Support overloadable negative operators. * lib/irb/ruby-lex.rb (RubyLex#identify_identifier): Minus signs need to be escaped in regexp character class. * misc/ruby-mode.el (ruby-font-lock-keywords, ruby-parse-partial): Support overloadable negative operators. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23093 from trunk into ruby_1_9_1.yugui2009-04-191-2/+9
| | | | | | | | | -- * lib/pathname.rb (Pathname#relative_path_from): compares path components according to system default case-sensitiveness. [ruby-core:22829] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23070 from trunk into ruby_1_9_1.yugui2009-04-191-2/+9
| | | | | | | | -- * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): considers --program-prefix and --program-suffix. reapplied r19923. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22998 from trunk into ruby_1_9_1.yugui2009-04-191-9/+4
| | | | | | | | -- * lib/drb/drb.rb (open_server_inaddr_any): fixed multiple network families problem. a patch from Charl Matthee at [ruby-core:21033]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22987 from trunk into ruby_1_9_1.yugui2009-04-191-1/+15
| | | | | | | | -- * lib/pathname.rb (Pathname#sub): set $~ in block.binding. [ruby-dev:38173] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22940 from trunk into ruby_1_9_1.yugui2009-04-191-0/+1
| | | | | | | | -- * lib/fileutils.rb (FileUtils#fu_get_gid): stringify group argument before making regexp match. [ruby-dev:38155] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22744 from trunk into ruby_1_9_1.yugui2009-04-121-2/+2
| | | | | | | -- * lib/csv.rb: Some minor documentation fixes from Gregory Brown. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22741 from trunk into ruby_1_9_1.yugui2009-04-121-0/+2
| | | | | | | | | | | -- * lib/prime.rb (Prime::prime?): used to return a wrong answer. [ruby-core:22646]. * test/test_prime.rb (test_prime?): test case for [ruby-core:22646]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22765 from trunk into ruby_1_9_1.yugui2009-04-121-1/+1
| | | | | | | | -- * lib/thread.rb (SizedQueue#push): fix limit condition. [ruby-dev:38135] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22743 from trunk into ruby_1_9_1.yugui2009-03-041-3/+1
| | | | | | | | -- * lib/csv.rb: A patch from Madoka Yakamamoto to prevent an infinite loop while reading some encodings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22706 from trunk into ruby_1_9_1.yugui2009-03-041-2/+2
| | | | | | | | | | | -- * lib/uri/common.rb (URI::Parser#escape): escaped string is ascii only. * lib/uri/common.rb (URI::Parser#unescape): converts bytewise. [ruby-dev:38005], [ruby-dev:38110] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22699 from trunk into ruby_1_9_1.yugui2009-03-041-10/+10
| | | | | | | -- merged a patch from Alessandro Di Maria in [ruby-core:22560]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22690 from trunk into ruby_1_9_1.yugui2009-03-041-2/+2
| | | | | | | | | | | | | | | -- * ext/dl/cfunc.c (rb_dlcfunc_call): fix for stdcall and missing argument numbers. [ruby-core:22601] * ext/dl/dl.h (DLSTACK_PROTO0_): added. * ext/dl/mkcallback.rb (gencallback, gen_callback_file), (rb_dl_init_callbacks): omit stdcall functions unless supported. * lib/rubygems/config_file.rb (SHGetFolderPath): stdcall. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 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