summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-21* README.EXT, README.EXT.ja (1.5 Manipulating Ruby data): fix thenobu
prototype of rb_vsprintf, and added rb_str_cat2. [ruby-dev:35622] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-21* encoding.c (rb_filesystem_encoding): use locale encoding on Unix.akr
[ruby-dev:35617] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-21* missing/vsnprintf.c (struct __sbuf, FILE): use size_t.nobu
* sprintf.c (ruby__sfvwrite): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-21* README.EXT, README.EXT.ja (1.5 Manipulating Ruby data): mentionednobu
rb_sprintf and rb_vsprintf. [ruby-dev:35611] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-21* io.c (prepare_getline_args): check if rs is a string when non-nilnobu
lim is given. [ruby-dev:35610] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-20* dir.c (dir_initialize): use rb_convert_type instead ofakr
rb_check_convert_type to prevent SEGV by Dir.new(".", true). (dir_initialize): use FilePathValue before rb_enc_get(dirname) to prevent SEGV by Dir.new(0). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-20* 2008-07-21svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-20* re.c (rb_reg_s_union): useless rb_enc_get call removed to preventakr
SEGV by Regexp.union("", nil). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-20* compile.c (iseq_compile_each): NODE_POSTEXE should set each endnobu
procs only once. [ruby-dev:35596] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-20* ext/win32ole/win32ole.c (EVENTSINK_Invoke): use rb_protectsuke
instead of rb_rescue2. [ruby-dev:35595] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-19* 2008-07-20svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-19* ext/win32ole/win32ole.c (EVENTSINK_Invoke): little refactoring.suke
* ext/win32ole/win32ole.c (EVENTSINK_GetIDsOfNames): return ITypeInfo::GetIDsOfNames(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-19* ext/win32ole/win32ole.c (EVENTSINK_Invoke): little refactoring.suke
* ext/win32ole/win32ole.c: add document of inspect methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-18Import RDoc r104. Various test fixes.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-18* numeric.c (check_uint): fix wrong message.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-18* 2008-07-19svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-18 * numeric.c (check_uint, rb_num2uint, rb_fix2uint): fixed wrong checkusa
about 64bit positive value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-18* ext/win32ole/win32ole.c (EVENTSINK_Invoke): avoid cfp consistencysuke
error when exception raised in event callback. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-18 * win32/win32.c (socklist): table for registering socket optionsusa
(currently only O_NONBLOCK). * win32/win32.c (StartSockets, exit_handler): alloc/free socklist. * win32/win32.c (is_socket): use socklist. * win32/win32.c (rb_w32_accept, rb_w32_socket, rb_w32_socketpair): register new socket to socklist. * win32/win32.c (rb_w32_close): remove closing socket from socklist. * win32/win32.c (fcntl): register socket options. * win32/win32.c (overlapped_socket_io): send to/recv from socket with overlapped operation if the socket is not nonblocking mode. [experimental] * win32/win32.c (rb_w32_send, rb_w32_sendto, rb_w32_recv, rb_w32_recvfrom): use overlapped_socket_io(). * win32/win32.c (open_ifs_socket): set overlapped mode. this is the default mode of winsock's socket(), so lacking it is an old bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-18svn:eol-style LFnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-18* 2008-07-18svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-18Import RDoc r101.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-17* test/rdoc/test_rdoc_c_parser.rb (teardown): close tempfile.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-17* test/ruby/test_process.rb (test_getpriority, test_setpriority): usemame
PRIO_PROCESS instead of PRIO_USER. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-17* pack.c (pack_unpack): fix v and V with big endian.mame
[1].pack("V").unpack("V") was [4294967296]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-17* pack.c (pack_pack): fix i! with big endian. [1].pack("i!") wasmame
"\0\0\0\0". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-17 * ext/socket/socket.c (ruby_connect): select() for connect() hasusa
mean only when the socket is non-blocking. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-17Simplify expression for RDoc.drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-17 * numeric.c (check_uint, rb_num2uint, rb_fix2uint): strict check.usa
fixed [ruby-dev:33683] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-16* test/ruby/enc: moved tests for particular encodings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-16* thread.c (thread_start_func_2): wake up joining threads.nobu
* thread.c (sleep_forever, sleep_timeval): return when interrupted. [ruby-dev:35542] * thread.c (timer_thread_function): restore main thread status. [ruby-core:17270] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-16* test/ruby/test_signal.rb (test_trap): string commands are allowed.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-16* 2008-07-17svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-16* io.c (appendline): remove invalid access.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-16* signal.c (signal_exec, trap_handler): trap accepts a string asnobu
command. [ruby-dev:35533] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15* 2008-07-16svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15* test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): newmame
method. * test/ruby/test_argf.rb: use assert_in_out_err instead of EnvUtil.rubyexec. * test/ruby/test_module.rb: ditto. * test/ruby/test_require.rb: ditto. * test/ruby/test_objectspace.rb: ditto. * test/ruby/test_object.rb: ditto. * test/ruby/test_string.rb: ditto. * test/ruby/test_method.rb: ditto. * test/ruby/test_variable.rb: ditto. * test/ruby/test_io.rb: ditto. * test/ruby/test_rubyoptions.rb: ditto. * test/ruby/test_exception.rb: ditto. * test/ruby/test_class.rb: ditto. * test/ruby/test_thread.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15 * win32/Makefile.sub (ruby_version): follow changes in configure.in.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15* ext/tk/{,tkutil/}extconf.rb: ruby/ruby.h no longer needs to benobu
checked. * ext/tk/{tcltklib.c,tkutil/tkutil.c}: check macros for each headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15* ext/tk/extconf.rb, ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: Doknu
not test ruby/ruby.h, which makes OS X's gcc pick the wrong header file from Ruby.framework. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15 * ext/socket/socket.c (ruby_connect, s_accept): came back blockingusa
region because other thread/process maybe read/write the socket between select() and connect()/accept(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15* configure.in (--with-ruby-version): Add a new option to specifyknu
the ruby version string for version specific directories. [ruby-dev:35490] * mkconfig.rb: Definition of ruby_version is now determined by the configure script. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15* ChangeLog: type.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15 * ext/socket/socket.c (ruby_connect, s_accept): no need to wrap byusa
blocking region if checked before readable/writable by select. * ext/socket/socket.c (bsock_send, s_recvfrom, udp_send, unix_send_io, unix_recv_io): should check readable/writable before blocking calling blocking functions. see [ruby-dev:35446] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15* 2008-07-15svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15 * thread_win32.c (ubf_handle): cancel blocking IO if it can (onlyusa
Vista). see [ruby-dev:35446] * win32/win32.c (errmap): add ERROR_OPERATION_ABORTED as EINTR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-14* test/win32ole/test_win32ole_event.rb (teardown): fix typo.suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-14* transcode.c (transcode_loop): constified.nobu
* transcode.c (str_transcode): rb_str_set_len() sets a delimiter. * transcode_data.h (rb_transcoder): constified preprocessor and postprocessor input. * enc/trans/japanese.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-14* test/ruby/test_time.rb (TestTime#test_time_interval): add timeoutkazu
to avoid stopping tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-14* transcode.c (get_replacement_character): temporary function,naruse
get characters for replacement mode. * transcode.c (transcode_loop): add undef key and replace value. * transcode.c (str_transcode): ditto. * transcode.c (Init_transcode): define sym_undef and sym_replace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e