mame
f22a307d7e
* ext/zlib/zlib.c (rb_zlib_adler32): fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-13 12:19:08 +00:00
nobu
9ba317f157
* thread.c (thread_start_func_2): see first_func, not first_proc,
...
to decide which to use.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-13 07:22:04 +00:00
tenderlove
9a9cc65035
* test/dl/test_cptr.rb (**): using ruby_xfree instead of libc's free
...
* test/dl/test_func.rb (test_strdod): strtod needs a char ** argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-13 07:19:59 +00:00
nobu
29f982738e
* gc.c (vm_xrealloc): use the given object space.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-13 02:09:33 +00:00
tenderlove
17ccd5d013
* ext/dl/cptr.c (rb_dlptr_s_to_ptr): when wrapping a pointer it should
...
keep a reference to the object it's wrapping
* test/dl/test_func.rb use standard test methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12 22:41:07 +00:00
svn
d109e9a67f
* 2009-11-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12 15:48:48 +00:00
xibbar
5de99652bd
* lib/cgi/util.rb (CGI::pretty): fix the overflow bug
...
if stripped string.[ruby-dev:37975]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12 15:48:46 +00:00
xibbar
f97d8eec10
* test/cgi/test_cgi_multipart.rb (_read):
...
performance improvement in windows.[ruby-dev:39650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12 14:53:35 +00:00
xibbar
64486dfd8e
* lib/cgi/core.rb (read_from_cmdline): this code is better.
...
[ruby-core:25991]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12 14:19:53 +00:00
xibbar
bed9e8e297
* lib/net/telnet.rb: don't use simple delegate.
...
because SimpleDelegate behavior changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12 14:03:03 +00:00
nobu
9e0f3e0db9
* thread_win32.c (thread_errno): CreateThread does not set errno.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12 05:33:23 +00:00
nobu
a7d63dfd28
* thread_pthread.c: removed last comma of enum.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12 05:00:47 +00:00
nobu
1d4183030d
* thread.c (thread_create_core): moved failure handling from
...
native_thread_core().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12 04:57:39 +00:00
nobu
a360a8ce85
* thread_pthread.c (native_thread_create): constified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12 04:31:02 +00:00
naruse
5e5b4c08fc
* .document: remove documents not in rdoc format until
...
rdoc supports non rdoc files. [ruby-core:26459]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-12 01:26:13 +00:00
nobu
55179696b2
* lib/tempfile.rb (Tempfile#initialize): option hash may not be
...
given. [ruby-core:26681]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-11 21:42:40 +00:00
svn
9a751c21e7
* 2009-11-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-11 16:32:36 +00:00
mame
61ec623860
* enumerator.c (yielder_yield_push): Yielder#<< should return self.
...
[ruby-dev:39660]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-11 16:32:34 +00:00
nobu
d9eae80011
* lib/tempfile.rb (Tempfile#initialize): merge mode option.
...
* lib/tmpdir.rb (Dir::Tmpname#create): splat options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-11 10:17:36 +00:00
nobu
3f5fbc6c34
* hash.c (ruby_setenv): use ruby_strdup().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-11 03:54:04 +00:00
nobu
30de9f68eb
* hash.c (ruby_setenv): use ruby_strdup().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-11 03:53:27 +00:00
usa
dc9112dd7a
* hash.c (ruby_setenv): also set CRT workarea. ref [ruby-core:25010]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-11 03:20:21 +00:00
nobu
914b36e3f9
* marshal.c (w_object, r_object0): use RHASH_IFNONE but not ifnone
...
directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-11 00:36:04 +00:00
akr
6ebdf24500
* thread.c (blocking_region_begin): define before BLOCKING_REGION.
...
reported by Luis Lavena. [ruby-core:26670]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-10 23:34:03 +00:00
akr
145f07fac2
* util.c (ruby_strtod): use dval() consistently.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-10 23:23:15 +00:00
tenderlove
f0e0b77864
* test/dl/test_func.rb (test_strtod): strtod test should not rely on
...
memory layout
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-10 22:51:24 +00:00
svn
b2a34a1ecf
* 2009-11-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-10 17:18:34 +00:00
yugui
c33d5a80c7
* test/matrix/test_matrix.rb (TestMatrix#test_rank):
...
added a test method for r24969.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-10 17:18:31 +00:00
nobu
561fbde435
* process.c (rb_f_exec): fixed rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-10 00:01:28 +00:00
nobu
ade7714d20
* process.c (rb_f_exec, rb_f_system, rb_f_spawn): mentioned about
...
the shell to be used when the command line is single string.
See [ruby-core:26652]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-09 23:23:23 +00:00
akr
d6f5da84e3
* thread.c (rb_gc_save_machine_context): don't save the stack pointer
...
in this function.
(RB_GC_SAVE_MACHINE_CONTEXT): call rb_gc_save_machine_context and
save the stack pointer at caller side.
(rb_thread_schedule_rec): use RB_GC_SAVE_MACHINE_CONTEXT instead of
rb_gc_save_machine_context.
(blocking_region_begin): changed to a macro. use
RB_GC_SAVE_MACHINE_CONTEXT instead of rb_gc_save_machine_context.
[ruby-dev:39659]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-09 11:18:17 +00:00
marcandre
54b5ac5663
* string.c (rb_str_each_line): rdoc fix
...
* ext/bigdecimal/bigdecimal.c (#infinite?, #nonzero?): rdoc fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-09 06:50:29 +00:00
nobu
68eb919442
* configure.in (warnflags): add -Wno-long-long.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-09 02:28:31 +00:00
nobu
5b0faff44c
* hash.c: use RHASH_IFNONE but not ifnone directly.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-08 09:13:17 +00:00
nobu
6ef3d123dd
* test/ruby/test_comparable.rb (TestComparable#cmp): suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-08 03:59:42 +00:00
nobu
c63b9d9632
* test/dl/test_callback.rb: eol-style.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-08 03:42:37 +00:00
tenderlove
912c42bebf
* test/dl/test_callback.rb (**) adding a callback test file
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-08 00:21:50 +00:00
tenderlove
5de564634d
* ext/dl/cfunc.c (**) updating documentation
...
* test/dl/test_cfunc.rb (test_ptr=, test_ptr) testing the pointer
accessor methods on CFunc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-08 00:21:41 +00:00
svn
355a7bc3a5
* 2009-11-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-07 21:37:28 +00:00
tenderlove
a56bd8c31a
* ext/dl/cptr.c (rb_dlptr_inspect): making inspect consistent across
...
platforms
* test/dl/test_cptr.rb (test_inspect): testing inspect
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-07 21:37:27 +00:00
akr
4319b48ab6
* lib/pp.rb (PP::ObjectMixin#pretty_print): use to_s regardless of
...
instance variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-07 12:05:38 +00:00
nobu
52ebc24487
* vm_insnhelper.c (vm_push_frame): get rid of out-of-bounds
...
access.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-07 11:59:16 +00:00
matz
ddc4143af0
* vm_insnhelper.c (VM_CALLEE_SETUP_ARG): revert r25521.
...
[ruby-core:26427] [ruby-core:26447]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-07 03:51:39 +00:00
matz
1e2dcdbd19
* vm_insnhelper.c (vm_push_frame): add CHECK_STACK_OVERFLOW.
...
[ruby-dev:39592]
* eval.c (rb_longjmp): add 1 level backtrace for sysstack_error
without calling any method to prevent further stack overflow.
* eval.c (make_exception): don't call #exception for
sysstack_error to prevent stack overflow.
* proc.c (Init_Proc): don't freeze sysstack_error.
* eval.c (rb_longjmp): move reentrant check after exception
preparation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-07 02:45:08 +00:00
tenderlove
35da6fdcf1
* ext/dl/cfunc.c (rb_dlcfunc_initialize): cleaning up C macros
...
* ext/dl/cfunc.c (**): adding documentation
* test/dl/test_cfunc.rb (test_set_calltype) testing calltype
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-06 22:50:40 +00:00
tenderlove
bc52ea0fde
* ext/dl/cptr.c (rb_dlptr_s_malloc, rb_dlptr_initialize): adding
...
documentation
* test/dl/test_cptr.rb (**): testing that malloc works when passed free
functions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-06 22:50:05 +00:00
tenderlove
5296367cf4
* ext/dl/cptr.c (rb_dlptr_to_str, rb_dlptr_to_s) adding documentation
...
* test/dl/test_cptr.rb (test_to_str, test_to_s) testing the
stringification of DL::Ptr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-06 18:29:31 +00:00
svn
c970682f02
* 2009-11-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-06 18:02:31 +00:00
tenderlove
c2d7621d8d
* ext/dl/cptr.c (rb_dlptr_inspect, rb_dlptr_plus, rb_dlptr_minus)
...
documenting +, -, inspect
* text/dl/test_cptr.rb (test_minus, test_plus, test_inspect) testing
minus, plus, and inspect
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-06 18:02:30 +00:00
nobu
32acedd286
* lib/mkmf.rb (create_header): split the line by tabs.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-06 08:13:47 +00:00