summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2008-12-22* configure.in (mingw): no longer uses snprintf and vsnprintf ofnobu
msvcrt. * win32/win32.c (rb_w32_vsnprintf, rb_w32_snprintf): removed. * win32/Makefile.sub (config.h): vsnprintf exists in VC7 or later. * win32/mkexports.rb (Exports#initialize): aliases rb_w32_vsnprintf and rb_w32_snprintf for binary compatibility. * sprintf.c (rb_str_format): uses snprintf instead of sprintf. * numeric.c (flo_to_s, rb_num2long, rb_num2ll): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-22* lib/rake.rb (Rake::MultiTask): invoke_prerequisites should bematz
private. a patch from okkez in [ruby-dev:37399] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-22* lib/rake.rb (Rake::FileList#egrep): change open mode to "rb",matz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-22* string.c (rb_str_upto): should return enumerator if calledmatz
without block. [ruby-dev:37526] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-22* parse.y (gettable_gen): the encoding of __FILE__ should bematz
rb_filesystem_encoding(). [ruby-list:45733] * parse.y (gettable_gen): __FILE__ should be ASCII-8BIT when filesystem encoding is US-ASCII and __FILE__ contains non 7bit characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-21* ext/tk/lib/tk.rb: temporary patch for trouble on TkAqua (> Tk8.4.9).nagai
* ext/tk/sample/demos-jp/widget: set encoding to a demo-code string to avoid garbled text on the Code Window. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-21* lib/optparse.rb (SPLAT_PROC): splat values by hand.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-21* test/readline/test_readline_history.rb: checked encoding.kouji
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-21* lib/optparse.rb (parse_in_order): splat values to be passed.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-21* test/readline/test_readline.rbkouji
(TestReadline#test_some_characters_methods): checked encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-21* lib/optparse.rb (SPLAT_PROC): fix for regexp. [ruby-dev:37514]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-21 * sample/test.rb: rescue exception.takano32
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-20* dln.c (dln_find_1): supplements an extension for executablenobu
files on DOSish platforms. * io.c (pipe_open): use rb_w32_aspawn() for array form. * win32/win32.c (rb_w32_pipe_exec): no longer used. * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): deals with batch files and commands with extensions. [ruby-core:20695] * win32/win32.c (has_redirection): supports environment variables references. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-20ChangeLog: ML ref was wrongmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-20* lib/irb/locale.rb (IRB::Locale#initialize)yugui
initializes instance variables to suppress warnings. typo fix to ignore LoadError: [ruby-dev:37508] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-19* io.c (rb_io_extract_encoding_option): "internal_encoding: nil"matz
to specify no-transcoding. and other corner case fixed. [ruby-dev:37496] * hash.c (rb_hash_lookup2): new function to look-up hash with default value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-19* ruby.c (process_options): get rid of warning on DOSISH.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-18* error.c (exc_equal): duck typing equal to make it transitive.matz
[ruby-dev:34880] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-18* lib/irb/init.rb (IRB.opt_parse): (M17N) adds -U and -E as commandyugui
line options. [ruby-dev:37161]. Fixes #711. improved long optinos. * lib/irb/init.rb (IRB.set_encoding): new subroutine for IRB.opt_parse * lib/irb/input-method.rb (IRB::StdioInputMethod): (M17N) regards scripts that user types as encoded in the external_encoding. * lib/irb/input-method.rb (IRB::ReadlineInputMethod): ditto. * lib/irb/input-method.rb (IRB::FileInputMethod): (M17N) respects magic comment. * lib/irb/help.rb (IRB.print_usage): (M17N) respects magic comment in the resource file. * lib/irb/lc/help-message: adds -U and -E. * lib/irb/lc/ja/help-message: ditto. re-encoded from ISO-2022-JP into UTF-8. * lib/irb/lc/ja/encoding_aliases.rb: new file. provides Japanese specific character encoding name table for backward compatibility. * lib/irb/lc/ja/error.rb: re-eoncoded from ISO-2022-JP into UTF-8. magic comment. * lib/irb/locale.rb: integrated with Ruby 1.9's M17N support. * lib/irb/magic-file.rb: new file. utility to handle files with magic comment and opens in the correct encoding. * lib/irb/ruby-lex.rb (RubyLex#each_top_level_statement): recovers character encoding for a statement after it lexed so that irb can eval the statement in correct encoding. * lib/irb/src_encoding.rb: new file. utility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-18* lib/cgi/session.rb: fix bug for ignore session_id option.xibbar
report from [ruby-core:18635], [Bug #572] * lib/cgi/core.rb: use Encoding#find when encoding set. * test/cgi/test_cgi_session.rb: test for session_id specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-18* hash.c (rb_hash_aset): string key copying only happen if key ismatz
an exact instance of String, not a subclass. based on a patch from Mike Gold <mike.gold.4433 at gmail.com> in [ruby-talk:322667]. [incompatible] [ruby-talk:322417] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-18* lib/optparse/version.rb: remove variable shadowing to stopmatz
warning. [ruby-core:20612] * lib/irb/completion.rb, lib/net/imap.rb, lib/prime.rb, lib/rinda/ring.rb, lib/racc/parser.rb, lib/shell/command-processor.rb, lib/yaml/yamlnode.rb: ditto. * lib/racc/parser.rb: remove space before parentheses. * lib/shell/command-processor.rb, lib/shell/process-controller.rb: use parentheses around arguments. * lib/irb/ext/change-ws.rb, lib/rexml/validation/relaxng.rb, lib/yaml/baseemitter.rb: indentation fix. * lib/matrix.rb: small cosmetic change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* lib/xmlrpc/server.rb: Restricting method inspection to show onlyjeg2
non-inherited public methods. [ruby-core:20603] * lib/xmlrpc/server.rb: Fixing method inspection so it doesn't trigger XMLRPC::FaultException when used. [ruby-core:20604] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* ext/socket/socket.c (unix_recv_io): relax msg_controllen errorakr
check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* ext/pty/extconf.rb: check util.h for OpenBSD.akr
* ext/pty/pty.c: include util.h if available. fix variable name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17 * lib/matrix.rb: shut up warning. [ruby-dev:37481] [Bug #899]keiju
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* array.c (rb_ary_push_m): add modification check before actualmatz
operation. [ruby-dev:37440] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* array.c (rb_ary_pop_m): use enum ary_take_pos_flags.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* configure.in (OBJDUMP, OBJCOPY):yugui
*BSD's ports and MacPorts prefix GNU binutils with 'g'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_hash):kazu
shut up warning. see [ruby-dev:37437] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* string.c (rb_str_hash): gets rid of collisions between differentnobu
encoding strings. [ruby-core:20526] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-17* test/ruby/test_metaclass.rb: removed codes for my debugging.yugui
sorry. [ruby-dev:37470] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16 * bin/testrb: set $0.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* lib/minitest/unit.rb (MiniTest::Assertions#assert_instance_of):matz
typo fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16 * lib/test/unit.rb (Test::Unit.setup_argv): sorry, fixed wrong commit.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* lib/minitest/unit.rb (MiniTest::Assertions#assert_instance_of):matz
should assert by instance_of?, not ===. [ruby-dev:37458] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* ext/bigdecimal/bigdecimal.c (VpToString): reverted modificationmatz
(that caused a bug) in r20359. [ruby-dev:37370] * ext/bigdecimal/bigdecimal.c (BigDecimal_limit): comment update. [ruby-dev:37465] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16 * lib/test/unit.rb (Test::Unit.setup_argv): ALT_SEPARATOR support.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* ext/pty/pty.c (getDevice): add nomesg argument.akr
(get_device_once): add nomesg argument. chmod slave tty to 0600 if nomesg. more error tests. (no_mesg): new function. (pty_open): make slave tty's mode 0600. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16 * lib/date/format.rb (_parse): m17n compliant.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* ext/pty/extconf.rb: check posix_openpt.akr
* ext/pty/pty.c (get_device_once): use posix_openpt if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* re.c: use strlcpy for error messages.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* parse.y (stmt): returns dispatched result.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* parse.y (primary): also in ripper, saves in_def before restoring.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16Revert the previous change. [ruby-dev:37455]knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16typoknu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* common.mk (complex.$(OBJEXT), rational.$(OBJEXT)): Properly addknu
dependencies to version.h and revision.h to fix parallel build with make -j#. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* configure.in (ac_cv_func_daemon): daemon(3) is deprecated on Mac OSnobu
X 10.5 or later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16* configure.in (ac_cv_header_ucontext_h): do not use ucontext.h on Macnobu
OS X 10.5 or later. merged from MacPorts. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-16 * dln.c (dln_load): ditto.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e