nobu
0238f47fa7
range.c: predefined IDs
...
* range.c (id_cmp, id_succ): use predefined IDs in id.def.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-01 22:39:14 +00:00
nobu
75319221a2
dln.c: fix EXTERNAL_PREFIX
...
* configure.in (EXPORT_PREFIX): revert r50410.
* dln.c (EXTERNAL_PREFIX): define by predefined macros.
configured EXPORT_PREFIX is different thing.
* win32/Makefile.sub: r50414-50415.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-01 07:27:03 +00:00
nobu
e15f8b2273
Makefile.sub: EXPORT_PREFIX
...
* win32/Makefile.sub (config.h): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-01 06:57:17 +00:00
nobu
3f5daebcb8
Makefile.sub: EXPORT_PREFIX
...
* win32/Makefile.sub (config.h): add EXPORT_PREFIX for r50410.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-01 06:46:59 +00:00
nobu
55851c982d
dln.c: raise fatal
...
* dln.c (dln_load): raise fatal error on OSX not other extension
libraries to refer different libruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-01 04:41:27 +00:00
nobu
f2604ef512
dln.c: check incompatible libruby
...
* dln.c (dln_load): check if a different libruby is loaded by the
extension library, and then bail out to get rid of very frequent
reported stale bug reports.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-01 04:30:26 +00:00
svn
2d3a0fa61b
* 2015-05-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-01 04:29:33 +00:00
nobu
70abda7e44
dln.c: use EXPORT_PREFIX
...
* configure.in (EXPORT_PREFIX): define exported symbol prefix
string in config.h.
* dln.c (FUNCNAME_PREFIX): use configured EXPORT_PREFIX, not
hardcoded condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-01 04:29:20 +00:00
nobu
4d12807e30
parse.y: %-string cannot be a label
...
* parse.y (parser_yylex): %-string cannot be a label even if
terminated by single/double quotes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-30 14:36:19 +00:00
nobu
7132479960
compile.c: disallow private readers
...
* compile.c (iseq_compile_each): revert r46873 and r46875, not to
allow to execute private readers by pretending op assign.
[ruby-core:68984] [Bug #11096 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-30 10:51:13 +00:00
svn
0e42b43497
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-30 08:02:56 +00:00
hsbt
f748c14cfd
* rational.c: Added documentation for rational literal.
...
[Bug #11075 ][fix GH-885][ci skip] Patch by @shishir127
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-30 08:02:38 +00:00
nobu
03c19dc555
ipsocket.c: fix merge miss
...
* ext/socket/ipsocket.c (init_inetsock_internal): fix local
variable name by merge miss. [ruby-core:68531] [Bug #10975 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-30 07:45:36 +00:00
nobu
db7a4e66e1
ipsocket.c: sys_error
...
* ext/socket/ipsocket.c (init_inetsock_internal): preserve errno
before other library calls and use rb_syserr_fail.
[ruby-core:68531] [Bug #10975 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-30 07:39:46 +00:00
svn
d7168fa61e
* 2015-04-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-30 07:22:45 +00:00
nobu
fd0e9d2580
parse.y: push cmdarg_stack
...
* parse.y (lambda): push and reset cmdarg_stack in lambda body.
[ruby-core:69017] [Bug #11107 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-30 07:22:19 +00:00
nobu
5d071fe381
cookie.rb: trailing comma
...
* lib/cgi/cookie.rb: add trailing comma for further lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-29 13:22:34 +00:00
svn
9547194750
* 2015-04-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-29 03:49:05 +00:00
nobu
9efec44c07
parse.y: simplified
...
* parse.y (primary): turned nested if-else blocks into a switch
statement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-29 03:49:05 +00:00
nobu
810522e0ff
compile.c: move expansion of massign
...
* compile.c (iseq_compile_each): move expansion for massign to
variable of for-loop from the parser, to reduce method calls on
intermediate objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-29 03:48:26 +00:00
nobu
69ba9302c5
gc.c: event hook thread argument
...
* gc.c (gc_event_hook_body): move th to an argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-26 00:16:38 +00:00
nobu
dc513a13bb
vm_trace.c: unified a_call and a_return
...
* vm_trace.c (symbol2event_flag): use a uniform macro for a_call
and a_return too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25 23:55:34 +00:00
nobu
89a2fd52bd
vm_trace.c: not a static variable
...
* vm_trace.c (symbol2event_flag): should not be static but a mere
local variable, so that unnecessary race condition does not
happen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25 23:45:02 +00:00
nobu
859f88f330
enc/utf_8.c: limit UTF-8
...
* enc/utf_8.c (code_to_mbclen, code_to_mbc): reject values larger
than UTF-8 max codepoints. [Feature #11094 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25 22:36:52 +00:00
nobu
4489c13657
vm_trace.c: indent
...
* vm_trace.c (thread_tracepoint): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25 22:19:46 +00:00
nobu
c95b788afc
vm_trace.c: unnecessary method undef
...
* vm_trace.c (Init_vm_trace): remove unnecessary method undef,
that is overridden just after it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25 22:19:17 +00:00
svn
8bce956ba8
* 2015-04-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25 20:16:22 +00:00
nobu
514d1551ce
ChangeLog: fix issue number
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25 20:16:04 +00:00
svn
f67703f84a
* 2015-04-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25 05:26:36 +00:00
nobu
2b0a6f47ac
revert r50336
...
* string.c (str_buf_cat): expand later so that the buffer can be
larger for further use. [Bug #11080 ] [Bug #11080 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-25 05:26:22 +00:00
knu
9955bb0130
Import ruby-electric.el version 2.2.3 from upstream
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-24 14:52:31 +00:00
usa
347d44ca41
* win32/win32.c: restore a license comment accidentally removed at r50381.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-24 14:48:24 +00:00
nobu
d6d393d268
win32.c: fix for mingw
...
* win32/win32.c (_pioinfo): necessary on mingw too.
* win32/win32.c (init_stdhandle): remove stale function for
Borland C.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-24 04:16:13 +00:00
usa
c15a74f3d0
* win32/win32.c (rb_w32_{getc,putc}): removed. they are needed for old
...
ruby (before 1.8), but not now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-24 01:44:12 +00:00
naruse
7bf5ba1b49
* win32/win32.c: remove bcc related code.
...
* include/ruby/win32.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23 23:41:16 +00:00
naruse
9892a4b1ae
* win32/win32.c (rb_acrt_lowio_lock_fh): wrap _pioinfo(i)->lock.
...
* win32/win32.c (rb_acrt_lowio_unlock_fh): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23 23:41:10 +00:00
naruse
3446537f1a
* win32/win32.c (_filbuf): msvc14 doesn't have it, use _fgetc_nolock.
...
* win32/win32.c (_flsbuf): msvc14 doesn't have it, use _fputc_nolock.
* win32/win32.c (vcruntime_file): define vcruntime_file on msvc14
because it doesn't export FILE's internal structure.
* win32/win32.c (FILE_COUNT): added to abstract FILE->_cnt.
* win32/win32.c (FILE_READPTR): added to abstract FILE->_ptr.
* win32/win32.c (FILE_FILENO): added to abstract FILE->_file.
* win32/win32.c (init_stdhandle): use FILE_FILENO.
* win32/win32.c (rb_w32_getc): use FILE_COUNT and FILE_READPTR.
* win32/win32.c (rb_w32_putc): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23 22:58:11 +00:00
naruse
cc622e2ac5
* win32/win32.c (dupfd): use _set_osfhnd.
...
* win32/win32.c (rb_w32_wopen): use _set_osflags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23 22:58:05 +00:00
ko1
62c2b2e80a
* gc.c (gc_mark_roots): fox to work PRINT_ROOT_TICKS.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23 20:40:19 +00:00
svn
4180eb5d83
* 2015-04-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23 19:51:37 +00:00
naruse
1e4172467f
* win32/Makefile.sub: MSVC14 have struct timespec.
...
* win32/rtname.cmd: support vcruntime140.dll.
* time.c (localtime_with_gmtoff_zone): MSVC14 doesn't have tzname and
daylight but have _tzname and _daylight.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23 19:51:18 +00:00
kazu
692e595997
fix a typo [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23 13:17:06 +00:00
nobu
c2a04d87d0
vm_eval.c: allow symbols to instance_eval/exec
...
* vm_eval.c (rb_obj_instance_eval, rb_obj_instance_exec): allow
symbols to just instance_eval/exec, execept for definition of
singletons. [ruby-core:68961] [Bug #11086 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23 02:35:58 +00:00
svn
3badcfc1cb
* 2015-04-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23 01:01:58 +00:00
hsbt
bd29cec6bb
* lib/delegate.rb: fix a typo.
...
[fix GH-881][ci skip] Patch by @Zorbash
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-23 01:01:44 +00:00
shugo
c8cb2598d1
* lib/net/imap.rb (move, uid_move): support the MOVE command defined
...
in RFC6851. Patch by ojab ojab.
[ruby-core:68960] [Feature #11077 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-22 09:43:55 +00:00
gogotanaka
85147e903a
* test/ruby/test_object.rb: add tests for Kernel#String and Kernel#Array.
...
[fix GH-879][fix GH-880] Patch by @yui-knk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-22 03:48:23 +00:00
svn
b27c5206a3
* 2015-04-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-21 18:44:27 +00:00
headius
2d1f3ed151
* test/ruby/test_m17n_comb.rb: test_str_crypt split into strict
...
and non-strict versions to allow masking out non-strict when
glibc version cannot be determined (#11045 ).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-21 18:44:10 +00:00
hsbt
4bd7276247
* test/ruby/test_object.rb: renamed tests to explicitly class name.
...
[fix GH-877] Patch by @yui-knk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-21 11:46:07 +00:00