OlderDiff < 20101018T004002Z < ThisDiff > 20101019T003915Z > NewerDiff
COMMIT adjust to work with jruby cext COMMIT add C api spec for rb_obj_instance_eval COMMIT add spec for rb_path2class COMMIT capi spec for rb_ary_new4 COMMIT capi spec for rb_ary_delete_at COMMIT add capi spec for class_name COMMIT spec for rb_ary_new3 COMMIT add jruby to capi spec guards for things jruby does not support COMMIT catch a more generic system error, because jruby will have a different error code here COMMIT add additional C api spec for rb_ary_new2 COMMIT add jruby undefs COMMIT fix typo COMMIT don't use RARRAY on 1.9 COMMIT add capi spec rb_yield_splat COMMIT describe rb_undef for capi specs COMMIT ad rb_intern spec COMMIT add capi specs for instance variable access COMMIT add specs for rb_str_buf_new COMMIT add rb_id2name spec COMMIT add more capi io specs COMMIT add capi spec for rb_scan_args COMMIT add specs for regex functioniality COMMIT add capi io spec for fd access via GetOpenFile COMMIT Merge branch 'jruby-capi-work' of http://github.com/timfel/rubyspec into timfel =================================================================== +++ 20101019T003915Z @@ 32110 @@ C-API Array function rb_ary_new2 - returns an empty array +- returns an array which can be assigned to from C +C-API Array function rb_ary_new3 +- returns an array with the passed cardinality and varargs +C-API Array function rb_ary_new4 +- returns returns an array with the passed values C-API Array function rb_ary_push - adds an element to the array @@ 32190 @@ - removes an element from an array and returns it - returns nil if the element is not in the array +C-API Array function rb_ary_delete_at +- removes an element from an array at the specified index /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/optional/capi/bignum_spec.rb CApiBignumSpecs rb_big2long @@ 32235 @@ C-API Class function rb_class2name - returns the class name +C-API Class function rb_class_name - returns the class name +C-API Class function rb_path2class +- returns the class C-API Class function rb_cvar_defined - returns false when the class variable is not defined @@ 32398 @@ C-API Hash function rb_hash_foreach - iterates over the hash +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/optional/capi/ext/io_spec.c: In function 'io_spec_rb_io_wait_readable': +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/optional/capi/ext/io_spec.c:<line_a>: warning: implicit declaration of function 'read' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/optional/capi/io_spec.rb C-API IO function rb_io_write - sends #write to the object passing the object to be written +C-API IO function rb_io_check_readable +- raises an IOError if the io isn't opened for reading +- raises no error if the io is opened for reading +C-API IO function rb_io_check_writable +- raises no error if the io is opened for writing +- raises an IOError if the io is not opened for reading +C-API IO function rb_io_check_closed +- raises an error only if the io is closed +C-API IO function rb_io_wait_writeable +- raises and IOError if passed a closed stream +C-API IO function rb_io_wait_readable +- blocks until the io is readable +- raises and IOError if passed a closed stream +C-API IO function GetOpenFile +- allows access to the system fileno /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/optional/capi/kernel_spec.rb C-API Kernel function rb_block_given_p @@ 32457 @@ - returns the result from block evaluation - raises LocalJumpError when no block is given +C-API Kernel function rb_yield_splat +- yields with passed array's contents - returns the result from block evaluation - raises LocalJumpError when no block is given @@ 32558 @@ CApiModule rb_undef_method - undef'ines a method on a class +CApiModule rb_undef - undef'ines a method on a class CApiModule rb_class2name @@ 32649 @@ CApiObject rb_obj_freeze - freezes the object passed to it +CApiObject rb_obj_instance_eval +- evaluates the block in the object context, that includes private methods CApiObject rb_obj_taint - marks the object passed as tainted @@ 32674 @@ - raises a TypeError if called with false - raises a TypeError if called with a String +CApiObject instance variable access rb_iv_get +- returns the instance variable on an object +- returns nil if the instance variable has not been initialized +CApiObject instance variable access rb_iv_set +- sets and returns the instance variable on an object +CApiObject instance variable access rb_ivar_get +- returns the instance variable on an object +- returns nil if the instance variable has not been initialized +CApiObject instance variable access rb_ivar_set +- sets and returns the instance variable on an object +CApiObject instance variable access rb_ivar_defined +- returns true if the instance variable is defined +- returns false if the instance variable is not defined /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/optional/capi/proc_spec.rb CApiProc @@ 32703 @@ - includes the end object when the third parameter is omitted or false - raises an ArgumentError when the given start and end can't be compared by using #<=> +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/optional/capi/regexp_spec.rb +C-API Regex functions +- allows matching in C, properly setting the back references +C-API Regex functions rb_reg_options +- returns the options used to create the regexp +C-API Regex functions rb_reg_regcomp +- creates a valid regexp from a string /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/optional/capi/safe_spec.rb CApiSafeSpecs @@ 32730 @@ C-API String function rb_str_new3 - returns a copy of the string +C-API String function rb_str_buf_new - returns an empty string +- returns a string which can be assigned to from C C-API String function rb_str_dup - returns a copy of the string @@ 32824 @@ - rb_struct_define allows for anonymous structures - rb_struct_define defines a structure and returns members as string - rb_struct_define allows for anonymous structures +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/optional/capi/ext/symbol_spec.c: In function 'symbol_spec_rb_id2name': +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/optional/capi/ext/symbol_spec.c:<line_a>: warning: initialization discards qualifiers from pointer target type /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/optional/capi/symbol_spec.rb +C-API Symbol function rb_intern +- converts a string to a symbol, uniquely +C-API Symbol function rb_id2name +- converts a symbol to a C char array C-API Symbol function rb_is_const_id - returns true given a const-like symbol @@ 32876 @@ CApiTimeSpecs rb_time_new - creates a Time from the sec and usec +/Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/optional/capi/util_spec.rb +C-API Util function rb_scan_args +- should assign all required arguments +- should assign all required and all passed optional arguments +- should assign all required and all optional arguments and splat the rest +- should assign all arguments and a possible block <n>) @@ 33448 @@ <n>) ConditionVariable#broadcast releases all threads waiting in line for this resource ERROR +ThreadError: Thread#join: deadlock 0x13d1ac - mutual join(0x1fd5a10) /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `join' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/library/conditionvariable/broadcast_spec.rb:55 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `each' @@ 34643 @@ Finished in <t> seconds +3286 files, 13418 examples, <num> expectations, 24 failures, 35 errors exit 1 failed(rubyspec) == end # <time> =================================================================== --- 20101018T004002Z @@ 33351 @@ <n>) ConditionVariable#broadcast releases all threads waiting in line for this resource ERROR -ThreadError: Thread#join: deadlock 0x13d1ac - mutual join(0x1fd59fc) /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `join' /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/library/conditionvariable/broadcast_spec.rb:55 /Users/chkbuild/chkbuild/tmp/build/ruby-1.8.7-pth/<buildtime>/rubyspec/library/conditionvariable/broadcast_spec.rb:55:in `each' @@ 34546 @@ Finished in <t> seconds -3284 files, 13379 examples, <num> expectations, 24 failures, 35 errors exit 1 failed(rubyspec) == end # <time>
OlderDiff < 20101018T004002Z < ThisDiff > 20101019T003915Z > NewerDiff