usa
651a207d09
* eval.c (rb_origenviron): remove unused old variable.
...
[ruby-dev:39412]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02 00:21:34 +00:00
usa
4e389756ec
* win32/{setup.mak,Makefile.sub,win32.c},include/ruby/win32.h (RT_VER):
...
split compiler specification and runtime library specification.
* win32/Makefile.sub (LD_SHARED*, config.status): no need to embbed
manifest if not exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-01 05:19:19 +00:00
svn
ceca5abce0
* 2009-10-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-01 04:24:02 +00:00
usa
a93b36b3e5
* win32/win32.c (rb_w32_getpid): simply call GetCurrentProcessId()
...
instead of calling MSVCRT's getpid().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-01 04:23:59 +00:00
matz
9b192302ec
* time.c (rb_time_succ): make Time#succ obsolete since time is not
...
a discrete value.
* range.c (discrete_object_p): treat time objects specially to
determine discrete values, since time objects have #succ yet are
discrete (for now at least).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-30 08:32:43 +00:00
nobu
a71d47a380
* vm_method.c (rb_add_method_def): show the location where
...
overwritten method was defined. [ruby-dev:39400]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-30 04:15:46 +00:00
naruse
331fdbe822
* re.c (last_match): add "thread and method" to the scope.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-30 01:08:44 +00:00
marcandre
b59109a844
* re.c (last_match): Added note to the doc that last_match is local to current scope [ruby-core:25833]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 16:38:00 +00:00
nobu
40e50764f4
* enumerator.c (enumerator_block_call): extracted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 15:37:28 +00:00
naruse
5b2d54be66
Escape as \x{XXXX} other than Unicode chars.
...
* string.c (rb_str_inspect): escape as \x{XXXX} when the encoding is
other than Unicode. [ruby-dev:39388]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 15:02:59 +00:00
nobu
e8f007e6b8
* configure.in (THREAD_MODEL): modified message when no thread
...
model is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 15:00:32 +00:00
nobu
46313c96c7
* io.c (rb_scan_open_args): rb_utf8mac_encoding is undefined.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 14:17:34 +00:00
akr
6ab0a79125
fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 13:45:28 +00:00
akr
18a07e9d4b
* include/ruby/intern.h (rb_struct_iv_get): deprecated because it is
...
not used and access internal structure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 13:25:54 +00:00
akr
0eddab8404
* lib/test/unit/assertions.rb (assert_equal): use Time#subsec if nsec
...
is not enough to distinguish arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 13:22:27 +00:00
naruse
ad8978fdb1
* io.c (rb_scan_open_args): add UTF8-MAC to no-convertion encoding.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 12:31:43 +00:00
nobu
42f0ea8c61
* configure.in (--enable-pthread): deprecated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 12:21:16 +00:00
mame
54bf027c91
* add a reference.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 12:13:26 +00:00
mame
c979cbfcf6
* lib/pp.rb (Kernel#pp): returns its arguments, like Kernel#p.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 12:11:29 +00:00
nobu
dc087bf85d
* ext/json/lib/json/common.rb (recurse_proc): removed needless
...
module_function, since visibility is already module_function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 08:02:47 +00:00
nobu
aed9218981
* test/ruby/test_class.rb (test_method_redefinition): commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 07:03:11 +00:00
nobu
811c2d5100
* test/ruby/test_{class,module}.rb (test_method_redefinition): include
...
warned line number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 06:59:42 +00:00
nobu
e6fb96e691
* test/ruby/test_{class,module}.rb (test_method_redefinition): refined.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 06:26:46 +00:00
nobu
f5654b4dfc
* test/ruby/test_module.rb: suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 05:47:21 +00:00
nobu
16969412b3
* vm_method.c (rb_method_definition_eq): non-null definition is
...
not equal to null definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 04:49:00 +00:00
nobu
1fe57a4b5d
* vm_method.c (rb_add_method_def): nothing to do if old method had
...
same definition. [ruby-dev:39397]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 04:37:52 +00:00
nobu
5e4d04c36e
* vm_method.c (rb_method_entry_eq): fixed a message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 04:33:17 +00:00
nobu
00be97da7e
* test/ruby/test_class.rb (test_module_function): tests for warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 03:53:44 +00:00
naruse
b3854e7162
Refine tests arround String#inspect.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 02:19:58 +00:00
naruse
3058eec581
* string.c (rb_str_inspect): dump as \uXXXX when the
...
string is in Unicode. [ruby-dev:39388]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 00:34:06 +00:00
naruse
f7554133b2
* encoding.c (rb_enc_unicode_p): defined.
...
Returns 1 when the encoding is Unicode series
other than UTF-7 else 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29 00:34:00 +00:00
nobu
5d6696c909
* lib/gauntlet_rubygems.rb: out of place.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 23:27:17 +00:00
naruse
5f5706c38f
* encoding.c (rb_filesystem_encoding): On Unix systems,
...
filesystem encoding should be locale encoding.
[ruby-dev:39393] and see also [ruby-dev:35617]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 19:24:24 +00:00
naruse
e0af046ad0
* hash.c (rb_f_getenv): use rb_filesystem_str_new_cstr
...
instead of rb_str_new2.
ENV['PATH'].encoding should be Filesystem Encoding
because its content is related to filesystem.
see [ruby-dev:39393]
* hash.c (env_fetch): ditto.
* string.c (rb_filesystem_str_new): defined.
* string.c (rb_filesystem_str_new_cstr): ditto.
* include/ruby/intern.h (rb_filesystem_str_new): added.
* include/ruby/intern.h (rb_filesystem_str_new_cstr): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 19:24:18 +00:00
naruse
ff504d3cc9
* include/ruby/st.h: include inttypes.h and stdint.h.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 19:24:10 +00:00
nobu
9ebc378e9a
* hash.c (rb_f_getenv, env_fetch): env string may be overwritten.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 15:07:08 +00:00
nobu
4097c096e8
* dln.c (load_lib, dln_find_exe_r): env string may be overwritten.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 14:31:01 +00:00
nobu
fc831f638a
* dln.c (dln_{exit,loaderror,memerror,notimplement}): renamed as
...
independent names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 13:46:18 +00:00
nobu
b957eb25ff
* dln.c (aix_loaderror): needs format string.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 13:33:13 +00:00
usa
51cefa387c
* win32/wini32.c (LK_ERR): with overlapped I/O, LockFileEx() returns
...
ERROR_IO_PENDING if the file is locked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 10:37:41 +00:00
duerst
9d7e47114c
include/ruby/st.h: aligned prototype of st_hash_uint32 with function
...
definition (fixing compiling problem on cygwin)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 10:08:46 +00:00
nobu
78070bd28e
* ChangeLog: fixed wrong translation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 05:54:42 +00:00
matz
bb3addfec4
missing changelog entries added for r25128.
...
* method.h (enum): new method type VM_METHOD_TYPE_MISSING.
* vm_eval.c (vm_call0): invoking VM_METHOD_TYPE_MISSING method
objects.
* vm_insnhelper.c (vm_call_method): invoking method defined from
VM_METHOD_TYPE_MISSING.
* proc.c (rb_method_entry_arity): ditto.
* vm_method.c (rb_method_entry_eq): two method object wraps
method_missing with same symbol should be equal.
[ruby-core:25755]
* proc.c (mnew): should always return method object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 03:15:53 +00:00
matz
102918a3ee
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 03:09:16 +00:00
usa
438b28d3f7
* parse.y (parser_tokadd_string): the byte after ``\'' may be a part of
...
multibyte character, so pushback it. [ruby-list:46416]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 02:40:30 +00:00
naruse
b07650769e
* stringio/stringio.c (strio_read): set ASCII-8BIT encoding
...
when length argument is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-28 01:08:24 +00:00
kanemoto
ea229a855f
* Makefile.in (miniruby): suppress duplication warning on AIX.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-27 16:32:53 +00:00
svn
162862780e
* 2009-09-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-27 16:26:33 +00:00
kanemoto
10806f146f
* common.mk (ruby.imp): add text section [Bug #2064 ].
...
* common.mk (ruby.imp): do not export Init_*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-27 16:26:31 +00:00
akr
9278fab680
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-27 14:44:43 +00:00