svn
310cbde45c
* 2012-09-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-15 23:16:20 +00:00
nobu
fdd8d5badc
.editorconfig: new
...
* .editorconfig: add. [ruby-core:47548] [Feature #7030 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-15 23:16:15 +00:00
nobu
47b642bdd3
parse.y: new_attr_op_assign
...
* parse.y (new_attr_op_assign): extract.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-15 09:26:33 +00:00
nobu
2bfc48dd62
parse.y: new_op_assign
...
* parse.y (new_op_assign): extract.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-15 09:26:31 +00:00
nobu
66d03f5f3c
parse.y: switch
...
* parse.y (gettable_gen, assignable_gen): rewrite sequential if-else
as switch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-15 09:26:28 +00:00
nobu
b520b21839
parse.y: static table
...
* parse.y (lex_state_name): use static table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-15 09:26:26 +00:00
nobu
356c085709
test_parse.rb: eval locations
...
* test/ruby/test_parse.rb: set eval locations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-15 09:26:21 +00:00
eregon
bcd7b81ea6
* pack.c: fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-14 17:29:59 +00:00
eregon
429c856e9c
* configure.in: fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-14 17:29:40 +00:00
naruse
3d42b23557
* ext/nkf/nkf-utf8/nkf.c: Merge upstream: 50a383c84.
...
[ruby-dev:46128] [Bug #7005 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-14 17:26:39 +00:00
svn
4649f218c8
* 2012-09-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-14 16:07:57 +00:00
naruse
1aab4196fa
* ext/nkf/nkf.c (rb_nkf_convert): suppress warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-14 16:07:49 +00:00
zzak
00fb59f19a
* array.c (rb_ary_diff, rb_ary_uniq):
...
Enhance documentation for array uniqueness
Based on a patch by Robin Dupret
[Bug #6872 ] [ruby-core:47209]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-13 19:08:45 +00:00
zzak
1ae1b85e81
* array.c (rb_ary_select):
...
Update documentation for Array#select
* enum.c (enum_find_all, enum_reject):
Update documentation for Enumerable#find_all and Enumerable#reject
Based on a patch by Jeff Saracco
[Bug #6908 ] [ruby-core:47285] [Fixes #166 on github]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-13 18:32:07 +00:00
svn
7a0d7e74cb
* 2012-09-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-13 15:24:10 +00:00
zzak
b1228caeff
* signal.c (rb_f_kill):
...
Update documentation for Process.kill to reflect kill(2)
Patch by Richo Healey
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-13 15:24:05 +00:00
shirosaki
3207af4cb8
lib/securerandom.rb: fix errors on Windows
...
* lib/securerandom.rb (SecureRandom.random_bytes):
Use 64bit value as pointer for Windows x64 to fix SystemCallError.
* lib/securerandom.rb (SecureRandom.lastWin32ErrorMessage):
Set proper encoding to avoid invalid byte sequence error.
[ruby-core:47451] [Bug #6990 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-13 13:01:23 +00:00
zzak
92300037ad
* lib/optparse.rb: Remove unreachable email address from documentation
...
[Bug #6996 ] [ruby-core:47459]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-13 02:25:37 +00:00
nobu
fc7a96e215
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-13 02:24:08 +00:00
zzak
1df7862b2b
* lib/xmlrpc.rb: Documentation for XMLRPC
...
* lib/xmlrpc/datetime.rb: ditto.
* lib/xmlrpc/parser.rb: ditto.
* lib/xmlrpc/client.rb: ditto.
* lib/xmlrpc/utils.rb: ditto.
* lib/xmlrpc/README.rdoc: ditto.
* lib/xmlrpc/create.rb: ditto.
* lib/xmlrpc/base64.rb: ditto.
* lib/xmlrpc/config.rb: ditto.
* lib/xmlrpc/httpserver.rb: ditto.
* lib/xmlrpc/server.rb: ditto.
* lib/xmlrpc/marshal.rb: ditto.
* lib/xmlrpc/README.txt: ditto.
[Bug #6909 ] [ruby-core:47286]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-13 02:22:10 +00:00
nobu
d11ef850b2
configure.in: no PIE on Haiku
...
* configure.in: Don't use PIE on Haiku because loader support is not
enough.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-13 01:22:13 +00:00
zzak
5d62cf1376
* lib/shellwords.rb: Documentation for Shellwords.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-12 23:22:26 +00:00
svn
54de5e3f2d
* 2012-09-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-12 23:04:45 +00:00
zzak
8f0d172f58
* ext/ripper/lib/ripper.rb: Documentation for Ripper.
...
* ext/ripper/lib/ripper/lexer.rb: ditto.
* ext/ripper/lib/ripper/sexp.rb: ditto.
* ext/ripper/lib/ripper/filter.rb: ditto.
* ext/ripper/lib/ripper/core.rb: ditto.
[Bug #6929 ] [ruby-core:47309]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-12 23:04:41 +00:00
nobu
857ec7118f
pathname.c: suppress -Wcomment warning
...
* ext/pathname/pathname.c (path_s_glob): get rid of "/*" within block
comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-12 14:16:16 +00:00
nobu
6f50057bda
vm_insnhelper.c: reuse VM stack
...
* vm_insnhelper.c (vm_method_missing, vm_call_method): reuse arguments
on the VM stack and get rid of ALLOCA.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-12 13:59:10 +00:00
svn
bed6c49801
* 2012-09-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-12 13:54:13 +00:00
zzak
b5c38622b1
* ext/pathname/lib/pathname.rb: Documentation for Pathname.
...
* ext/pathname/pathname.c: ditto.
[Bug #6947 ] [ruby-core:47354]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-12 13:54:08 +00:00
svn
4893e6abab
* 2012-09-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-11 00:44:33 +00:00
nobu
9445ab2d98
mkmf.rb: fix $LDFLAGS
...
* lib/mkmf.rb (have_framework): insert a space between options.
add just one -ObjC option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-11 00:44:30 +00:00
nobu
f228a4b209
thread.c: static
...
* thread.c (patrol_thread): should be static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-10 08:21:02 +00:00
usa
91987f6b04
* ext/socket/{basicksocket,init,udpsocket}.c: revert some parts of
...
r36944. it breaks mswin/mingw ruby and brought into many many
crashes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-10 01:41:59 +00:00
usa
7d59a96314
* enc/depend: fixed wrong change in a part of r34802.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-10 01:20:16 +00:00
kosaki
84c77c1520
* ext/socket/basicsocket.c (rsock_bsock_send):
...
avoid unnecessary select() calls before doing I/O
Patch by Eric Wong. [Feature #4538 ] [ruby-core:35586]
* ext/socket/init.c (rsock_s_recvfrom): ditto.
* ext/socket/init.c (rsock_s_accept): ditto.
* ext/socket/udpsocket.c (udp_send): ditto.
* io.c (io_fflush): ditto.
* io.c (io_binwrite): ditto.
* io.c (rb_io_syswrite): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 17:29:12 +00:00
kosaki
946f7fc788
* io.c (nogvl_close, maygvl_close, nogvl_fclose, maygvl_fclose):
...
suppress integer <-> pointer cast warnings.
[Feature #4570 ] [ruby-core:35711]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 17:11:25 +00:00
kosaki
4c10b36467
* io.c (rb_io_close): notify fd close before releasing gvl.
...
* io.c (fptr_finalize): modify fptr->mode before releasing gvl.
remove unnecessary rb_thread_fd_close().
[Feature #4570 ] [ruby-core:35711]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 17:11:03 +00:00
svn
252334e016
* 2012-09-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 15:17:20 +00:00
naruse
aa8dd0290b
* process.c: exec() requires to be single threaded also on Haiku.
...
by Takashi Toyoshima <toyoshim@gmail.com>
https://github.com/ruby/ruby/pull/178
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 15:17:15 +00:00
kosaki
7198053a49
* lib/thread.rb (Queue#pop): Fixed double registration issue when
...
mutex.sleep is interrupted. [Bug #5258 ] [ruby-dev:44448]
* lib/thread.rb (SizedQueue#push): ditto.
* test/thread/test_queue.rb (test_sized_queue_and_wakeup,
test_queue_pop_interrupt, test_sized_queue_pop_interrupt,
test_sized_queue_push_interrupt): new tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 12:32:33 +00:00
nobu
61f530500e
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 11:36:47 +00:00
kosaki
2248a8ce64
* lib/sync.rb (Sync_m#sync_lock): Fixed wakeup/raise unsafe code.
...
Patched by Masaki Matsushita. [Bug #5355 ] [ruby-dev:44521]
* test/thread/test_sync.rb (test_sync_lock_and_wakeup,
test_sync_upgrade_and_wakeup, test_sync_lock_and_raise):
new test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 11:34:47 +00:00
kosaki
5dbbee86b6
* include/ruby/intern.h (rb_thread_blocking_region): Added
...
a comment of recommended alternative way.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 11:32:11 +00:00
kosaki
149176225a
* lib/sync.rb (Sync_m): Removed RCS_ID.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 11:29:40 +00:00
kosaki
fde6de9fc7
* test/ruby/test_io.rb (test_advise_pipe): new test to check
...
io.advise() against anonymous io object don't make crash.
made by Eric Wong. [Bug #6081 ] [ruby-core:42880]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 09:24:35 +00:00
kosaki
4b58f39ded
* io.c (nogvl_close, maygvl_close, nogvl_fclose, maygvl_fclose):
...
new functions.
* io.c (fptr_finalize): release GVL if possible.
Patched by Eric Wong. [Feature #4570 ] [ruby-core:35711]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 09:10:46 +00:00
kosaki
3df2fc2da8
* io.c (io_bufread): removed unnecessary rb_thread_wait_fd().
...
Patch by Eric Wong. [Bug #6629 ] [ruby-core:45789]
* io.c (rb_io_sysread): ditto.
* io.c (copy_stream_fallback_body): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 07:20:00 +00:00
svn
44f9d99e3d
* 2012-09-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 06:27:07 +00:00
kosaki
10c14095de
* thread.c (rb_mutex_lock): stop multiple threads use
...
pthread_cond_timedwait() concurrently. [Bug #6278 ] [ruby-core:44275]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-09 06:27:02 +00:00
nobu
5fbfc21b67
internal.h: allocator function in rb_classext_t
...
* internal.h (struct rb_classext_struct): move allocator function into
rb_classext_t from ordinary method table. [ruby-dev:46121]
[Feature #6993 ]
* object.c (rb_obj_alloc): call allocator function directly.
* vm_method.c (rb_define_alloc_func, rb_undef_alloc_func)
(rb_get_alloc_func): use allocator function in rb_classext_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-08 09:52:26 +00:00
nobu
ea005c47fa
.travis.yml: revert.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-09-08 09:31:18 +00:00