aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * process.c (rb_fork): propagete an error message from child to parent.akr2008-12-235-68/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (rb_f_exec): show details of error in child process on exception. (save_redirect_fd): add error message arguments. (run_exec_dup2): ditto. (run_exec_close): ditto. (run_exec_open): ditto. (run_exec_dup2_child): ditto. (run_exec_pgroup): ditto. (run_exec_rlimit): ditto. (rb_run_exec_options): ditto. (rb_exec): ditto. (rb_exec_atfork): ditto. (rb_spawn_internal): ditto. (rb_spawn): ditto. (rb_f_system): follow arguments change. (proc_daemon): ditto. (rb_f_spawn): show details of error in child process on exception. * io.c (popen_exec): add error message arguments. (pipe_open): show details of error in child process on exception. * include/ruby/intern.h (rb_run_exec_options): add error message arguments. (rb_exec): ditto. (rb_fork): ditto. (rb_spawn): ditto. * ext/pty/pty.c (chfunc): add error message arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: rdoc for File::open and 1.9 feature in file modes.yugui2008-12-233-30/+126
| | | | | | * transcode.c: rdoc for String#encode git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn): deals with quoted commands.nobu2008-12-232-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime): use locale insensitive functions for tr_TRakr2008-12-233-4/+10
| | | | | | | locale. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (assert_equal): show small differencesakr2008-12-232-1/+10
| | | | | | | for Regexp and Float. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn): support normal commands with arguments.usa2008-12-232-17/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2008-12-230-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_inspect): show fd number if there is no pathname.akr2008-12-233-5/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb: shouldn't use single quote in shell's commandusa2008-12-232-2/+7
| | | | | | | | line if you want to support Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb: Math.sqrt(NaN) should be NaN. [ruby-dev:37537]yugui2008-12-232-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Match full RubyGems behavior when a gem can't be founddrbrain2008-12-232-3/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb: detects vcs directory properly on buildingyugui2008-12-232-10/+11
| | | | | | outside of srcdir. [ruby-dev:37555] [ruby-dev:37561] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2008-12-231-13/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): need to initialize args.usa2008-12-232-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/st.h: need to include defines.h because LONG_LONG isusa2008-12-232-0/+6
| | | | | | | | defined there. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't coalesce adjacent comment blocks. [bug#901]drbrain2008-12-232-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated.akr2008-12-231-0/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_close): fix coding style. [ruby-dev:37554]akr2008-12-232-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix documentation. [bug#827]drbrain2008-12-222-5/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't remove methods twice. [bug#555]drbrain2008-12-222-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-23svn2008-12-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): fix buffer overflow.mame2008-12-222-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (revision.h): uses tool/file2lastrev.rb to supportyugui2008-12-223-15/+19
| | | | | | | | | | git-svn. * version.h: changed version string as `ruby 1.9.1 (2008-12-22 patchlevel-5000 trunk 20912) [i386-darwin9.6.0]'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Doxyfile.in: new file. Template of a configuration file foryugui2008-12-228-3/+409
| | | | | | | | | | | | | | | | | | | | | | | | | | Doxygen. Intorduces C-level API reference generation with Doxygen. * tool/file2lastrev.rb: wrapper script that abstracts subversion and git-svn. * tool/strip-rdoc.rb: filter for preventing doxygen from processing rdoc comments. * configure.in: (Doxyfile): Doxyfile is generated together with Makefile. (PACKAGE): configuration $(PACKAGE) is necessary for $(docdir). * instruby.rb: adds a new install target 'capi' * common.mk (capi): new target that generates C API documents with Doxygen. (install-capi): new target. (pre-install-capi): ditto. (do-install-capi): ditto. (post-install-capi): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (int_ord): Integer#ord implemented.akr2008-12-222-0/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2008-12-222-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_pipe): IO.pipe can take a block.akr2008-12-224-3/+69
| | | | | | | (pipe_close): new function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (assert_nothing_raised): incrementakr2008-12-222-0/+6
| | | | | | | assertion count. [ruby-dev:37480] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.c (Init_native_thread): need to callusa2008-12-222-0/+6
| | | | | | | | ruby_thread_set_native() here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: fix wrong flag value.nagai2008-12-222-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (rubydll.def), win32/mkexports.rbnobu2008-12-223-1/+11
| | | | | | | (Exports#exports): added VERSION. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (BSD_vfprintf): fix for test_sprintf_comb.rb, bynobu2008-12-222-2/+13
| | | | | | | wanabe in [ruby-dev:36935]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: added ticket number [Bug#6].nobu2008-12-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (mingw): no longer uses snprintf and vsnprintf ofnobu2008-12-229-43/+49
| | | | | | | | | | | | | | | | | | 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
* * lib/rake.rb (Rake::MultiTask): invoke_prerequisites should bematz2008-12-222-0/+4
| | | | | | 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
* * lib/rake.rb (Rake::FileList#egrep): change open mode to "rb",matz2008-12-222-2/+11
| | | | | | | | | | 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
* * string.c (rb_str_upto): should return enumerator if calledmatz2008-12-222-0/+6
| | | | | | without block. [ruby-dev:37526] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (gettable_gen): the encoding of __FILE__ should bematz2008-12-222-1/+16
| | | | | | | | | | 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-22svn2008-12-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: temporary patch for trouble on TkAqua (> Tk8.4.9).nagai2008-12-213-35/+55
| | | | | | | | * 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
* * lib/optparse.rb (SPLAT_PROC): splat values by hand.nobu2008-12-212-9/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/readline/test_readline_history.rb: checked encoding.kouji2008-12-212-21/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (parse_in_order): splat values to be passed.nobu2008-12-212-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/readline/test_readline.rbkouji2008-12-212-2/+14
| | | | | | | (TestReadline#test_some_characters_methods): checked encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (SPLAT_PROC): fix for regexp. [ruby-dev:37514]nobu2008-12-213-1/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-21svn2008-12-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: rescue exception.takano322008-12-212-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_find_1): supplements an extension for executablenobu2008-12-204-202/+196
| | | | | | | | | | | | | | | | | 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
* ChangeLog: ML ref was wrongmatz2008-12-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-20svn2008-12-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e