|
|
|
|
Changelog for ruby2.3-tk-debuginfo-2.3.1-1.12.x86_64.rpm :
* Wed Apr 27 2016 mrueckertAATTsuse.de- update to 2.3.1 - doc/extension.rdoc: Improvements to english grammers. [Bug [#12246]][ruby-core:74792][ci skip] - doc/extension.rdoc: [DOC] `nul` should be uppercase. change \'nul\' => \'NUL\'. [Fix GH-1172] - encoding.c: Fix return value of `Encoding::ISO8859_1.name` [Bug [#12313]][ruby-core:75147][ci skip] - ext/bigdecimal/bigdecimal.c: Fix code sample of `BigDecimal.new` - configure.in: add missing -lm for AIX. - configure.in: don\'t use the system-provided round(3) on AIX. In AIX, round(0.49999999999999994) returns 1.0. Use round() in numeric.c instead. - ruby.c: cygwin does not use w32_cmdvector, command line can be other than UTF-8. [ruby-dev:49519] [Bug #12184] - eval_jump.c (exec_end_procs_chain): restore previous error info for each end procs. [ruby-core:75038] [Bug #12302] - compile.c (new_label_body): initialize bit fields, since compile_data_alloc does not clear the memory. [Bug #12082] - compile.c (iseq_optimize): disable tail call optimization in rescued, rescue, and ensure blocks. [ruby-core:73871] [Bug [#12082]] - ext/nkf/nkf-utf8/nkf.c (mime_putc): fix typo. [Bug #12202] [ruby-core:74802] - ext/nkf/nkf-utf8/nkf.c: Merge upstream 4f3edf80a0. patched by Anton Sivakov [Bug #12201] [Bug #12202] - lib/securerandom.rb (gen_random): to avoid blocking on Windows. On Windows OpenSSL RAND_bytes (underlying implementation is RAND_poll in crypto/rand/rand_win.c) may be blocked at NetStatisticsGet. https://wiki.openssl.org/index.php/Random_Numbers#Windows_Issues Instead of this, use Random.raw_seed directly (whose implementation CryptGenRandom is one of the source of entropy of RAND_poll on Windows). https://wiki.openssl.org/index.php/Random_Numbers Note: CryptGenRandom function is PRNG and doesn\'t check its entropy, so it won\'t block. [Bug #12139] https://msdn.microsoft.com/ja-jp/library/windows/desktop/aa379942.aspx https://tools.ietf.org/html/rfc4086#section-7.1.3 https://eprint.iacr.org/2007/419.pdf http://www.cs.huji.ac.il/~dolev/pubs/thesis/msc-thesis-leo.pdf - miniinit.c (Init_enc): add some common aliases of built-in encodings. [ruby-core:72481] [Bug #11872] - lib/forwardable.rb: Convert given accessors to String. r53381 changed to accept only Symbol or String for accessors, but there are several rubygems that pass classes (e.g. Array, Hash, ...) as accessors. Prior r53381, it was accepted because Class#to_s returns its class name. After r53381 given accessors are checked with define_method, but it accepts only Symbol or String, otherwise raises TypeError. def_delegator Foo, :some_method This change is to revert unexpected incompatibility. But this behavior may change in the future. - configure.in: check if succeeded in creating config.h. - tool/ifchange: ignore failures when TEST_COLORS unmatched. just use the default value if expected name is not contained in it. [ruby-core:75046] [Bug #12303] - doc/regexp.rdoc (comments): [DOC] terminators cannot appear in comments. [ruby-core:74838] [Bug #12256] - extension.rdoc, extension.ja.rdoc: [DOC] Fix some errors. Renamed files, wrong method names or argument types; the example GetDBM macro is now updated to the current version of the actual code. patch by Marcus Stollsteimer in [ruby-core:74690]. [Bug #12228] - test/ruby/test_time_tz.rb: Tests depends on Europe/Moscow removed to avoid test failures due to the tzdata change. https://github.com/eggert/tz/commit/8ee11a301cf173afb0c76e0315b9f9ec8ebb9d95 Found by naruse. - configure.in (rb_cv_lgamma_r_m0): fix the condition for lgamma_r(-0.0). [Bug #12249] - configure.in (rb_cv_lgamma_r_m0): check if lgamma_r(-0.0) returns negative infinity. [Bug #12249] - math.c (ruby_lgamma_r): define by the configured result. - math.c (ruby_lgamma_r): missing/lgamma_r.c is used on Windows, since msvcrt does not provide it. - missing/lgamma_r.c (lgamma_r): fix lgamma(-0.0). [ruby-core:74823] [Bug #12249] - math.c (ruby_lgamma_r): mswin\'s lgamma_r also seems to be wrong. cf. [Bug #12249] - math.c (ruby_tgamma): fix tgamma(-0.0) on mingw. [ruby-core:74817] [Bug #12249] - defs/keywords (alias, undef): symbol literals are allowed. - parse.y (parse_percent): should parse symbol literals for alias and undef. [ruby-dev:47681] [Bug #8851] - struct.c (struct_make_members_list, rb_struct_s_def): member names should be unique. [ruby-core:74971] [Bug #12291] - struct.c (struct_make_members_list): extract making member name list from char * va_list, with creating symbols without intermediate IDs. - ext/win32/lib/win32/registry.rb (DeleteValue, DeleteKey): fix API names. [ruby-core:74863] [Bug #12264] - compile.c (iseq_peephole_optimize): should not replace the current target INSN, not to follow the replaced dangling link in the caller. [ruby-core:74993] [Bug #11816] - cont.c (fiber_initialize_machine_stack_context): fix wrong _MSC_VER check, should be decimal but not hexadecimal. [ruby-core:74936] [Bug #12279] - cont.c (fiber_initialize_machine_stack_context): fix wrong _MSC_VER check, should be decimal but not hexadecimal. [ruby-core:74936] [Bug #12279] - vm_core.h (rb_vm_struct): make at_exit a single linked list but not RArray, not to mark the registered functions by the write barrier. based on the patches by Evan Phoenix. [ruby-core:73908] [Bug #12095] - thread.c (update_coverage): Do not track coverage in loaded files after Coverage.result. Avoids out-of-bounds access. [Bug [#12237]] - ext/coverage/coverage.c (coverage_clear_result_i): document. - ext/date/date_core.c (Init_date_core): [DOC] fix misplaced doc of DateTime. [ruby-core:74729] [Bug #12233] - cygwin/GNUmakefile.in (MSYS2_ARG_CONV_EXCL_PARAM): * add missing parentheses and remove double quotes. rename to * get rid of recursive references. as --excludes-dir option is * for a path name, its argument should be converted. [ruby-dev:49526] [Bug #12199] - common.mk (TEST_EXCLUDES, EXCLUDE_TESTFRAMEWORK): use full spell long option. - cygwin/GNUmakefile.in (MSYS2_ARG_CONV_EXCL): suppress path name conversions by msys2. [ruby-dev:49525] [Bug #12199] - test/lib/test/unit.rb (Options#non_options): make regexp name options prefixed with \"!\" negative filters. - common.mk (TEST_EXCLUDES): use negative filter to exclude memory leak tests. -x option excludes test files, not test methods. - parse.y (parse_ident): allow keyword arguments just after a method where the same name local variable is defined. [ruby-core:73816] [Bug#12073] - eval.c (setup_exception): set the cause only if it is explicitly given or not set yet. [Bug #12068] - thread.c (rb_thread_setname): defer setting native thread name set in initialize until the native thread is created. [ruby-core:74963] [Bug #12290] - lib/irb/ext/save-history.rb: Fix NoMethodError when method is not defined. - lib/forwardable.rb (def_instance_delegator) fix delegating to \'args\' and \'block\', clashing with local variables in generated methods. [ruby-core:72579] [Bug #11916] - lib/forwardable.rb (def_single_delegator): ditto. - lib/irb/ext/save-history.rb: suppress warning: method redefined; discarding old save_history=. - configure.in: improve ICC (Intel C Compiler) support. - configure.in (CXX): The name of icc\'s c++ compiler is `icpc`. - configure.in (warnings): Add `-diag-disable=2259` to suppress noisy warnings: \"non-pointer conversion from \"...\" to \"...\" may lose significant bits\". - configure.in (optflags): Add `-fp-model precise` like - fno-fast-math. - lib/mkmf.rb: icc supports -Werror=division-by-zero and - Werror=deprecated-declarations, but doesn\'t support - Wdivision-by-zero and -Wdeprecated-declarations. - ext/openssl/extconf.rb: check SSL_CTX_set_next_proto_select_cb function rather than OPENSSL_NPN_NEGOTIATED macro. it exists even if it is disabled by OpenSSL configuration. [ruby-core:74384] [Bug #12182] - ext/openssl/ossl_ssl.c: update #ifdef(s) as above. - test/openssl/test_ssl.rb: skip NPN tests if NPN is disabled. - lib/uri/http.rb (URI::HTTP#initialize): [DOC] fix example, missing mandatory arguments. [ruby-core:74540] [Bug #12215] - sprintf.c (rb_str_format): fix buffer overflow, length must be greater than precision. reported by William Bowling . - lib/rubygems/security.rb (DIGEST_ALGORITHM, KEY_ALGORITHM): should check same name as the used constants. [ruby-core:72674] [Bug #11940] - compile.c (compile_massign_lhs): when index ends with splat, append rhs value to it like POSTARG, since VM_CALL_ARGS_SPLAT splats the last argument only. [ruby-core:72777] [Bug #11970] - ext/ripper/lib/ripper/lexer.rb (on_heredoc_dedent): Fix Ripper.lex error in dedenting squiggly heredoc. heredoc tree is also an array of Elem in the outer tree. [Fix GH-1234] - thread_pthread.c (setup_communication_pipe): delay setting owner (rb_thread_create_timer_thread): until thread creation succeeds [ruby-core:72590] [Bug #11922] - localeinit.c (rb_locale_charmap_index): fix prototype. patched by Andreas Schwab [Bug #12218] - thread_pthread.c (reserve_stack): fix reserving position where the stack growing bottom to top. [Bug #12118] - win32/file.c (rb_readlink): drop garbage after the substitute name, as rb_w32_read_reparse_point returns the expected buffer size but \"\\??\\\" prefix is dropped from the result. - win32/win32.c (w32_readlink): ditto, including NUL-terminator. - win32/win32.c (fileattr_to_unixmode, rb_w32_reparse_symlink_p): volume mount point should be treated as directory, not symlink. [ruby-core:72483] [Bug #11874] - win32/win32.c (rb_w32_read_reparse_point): check the reparse point is a volume mount point or not. - win32/file.c (rb_readlink): follow above change (but this pass won\'t be used). - test/-ext-/time/test_new.rb (test_timespec_new): change a gmtoff test to a better one that does not depend on whether the current time is in summer time or not. - test/-ext-/time/test_new.rb (test_timespec_new): Time#gmtoff values are the same only when both or neither of the Time objects are in summer time (daylight-saving time). - lib/rubygems/test_case.rb: Fix test on Windows for inconsistent temp path. https://github.com/rubygems/rubygems/pull/1554 [Bug [#12193]][ruby-core:74431] - string.c (str_new_frozen): if the given string is embeddedable but not embedded, embed a new copied string. [Bug #11946] - doc/extension.ja.rdoc: Fix RDoc markup in doc/extension *.rdoc. [ci skip][Bug #12143][ruby-core:74143] - doc/extension.rdoc: ditto. - proc.c (proc_binding): proc from symbol can not make a binding. [ruby-core:74100] [Bug #12137] - include/ruby/win32.h (O_SHARE_DELETE): change to fit Fixnum limit. [ruby-core:74285] [Bug #12171] - test/net/imap/test_imap.rb (test_idle_timeout): Because of the timeout specified in \"imap.idle(0.2)\", there is no gurantee that the server thread has done all the work before the client thread performs the assertions. It depends on the thread scheduling. Add checks to avoid false positives (on AIX, particularly). - test/socket/test_socket.rb (test_udp_recvmsg_truncation): AIX does not set the MSG_TRUNC flag for a message partially read by recvmsg(2) with the MSG_PEEK flag set. - doc/extension.rdoc, doc/extension.ja.rdoc: add editor local variables, with commenting out by :enddoc: directives which are just ignored unless code object mode. [Bug #12111] - doc/extension.ja.rdoc: removed rendering error caused by editor specific configuration on http://docs.ruby-lang.org/en/trunk/extension_rdoc.html . [Bug [#12111]][ruby-core:73990] - object.c (rb_mod_const_get): make error message at uninterned string consistent with symbols. [ruby-dev:49498] [Bug #12089] - dir.c (push_pattern, push_glob): deal with read paths as UTF-8 to stat later, on Windows as well as OS X. [ruby-core:73868] [Bug #12081] - ext/extmk.rb: add cygwin case, nothing excluded. [ruby-core:73806] [Bug#12071] - iseq.c (rb_iseq_mark): mark parent iseq to prevent dynamically generated iseq by eval from GC. [ruby-core:72620] [Bug #11928] - lib/resolv.rb (Resolv::IPv6.create): avoid modifying frozen - test/resolv/test_dns.rb (test_ipv6_create): test for above [Bug [#11910]] [ruby-core:72559] - range.c (range_eqq): revert r11113 because rb_call_super() is called in range_include() and thus r11113 doesn\'t work when the receiver Range object consists of non linear objects such as Date objects. [ruby-core:72908] [Bug #12003] - vm_eval.c (rb_check_funcall_with_hook): also should call the given hook before returning Qundef when overridden respond_to? method returned false. [ruby-core:73556] [Bug #12030] - compile.c (iseq_peephole_optimize): don\'t apply tailcall optimization to send/invokesuper instructions with blockiseq. This is a follow-up to the changes in r51903; blockiseq is now the third operand of send/invokesuper instructions. [ruby-core:73413] [Bug #12018] - parse.y (xstring): reset heredoc indent after dedenting, so that following string literal would not be dedented. [ruby-core:72857] [Bug #11990] - parse.y (string1): reset heredoc indent fore each string leteral so that concatenated string would not be dedented. [ruby-core:72857] [Bug #11990] - parse.y (parser_here_document): update indent for each line in indented here document with single-quotes. [ruby-core:72479] [Bug #11871] - symbol.h (is_attrset_id): ASET is an attrset ID. fix unexpected safe call instead of an ordinary ASET. - doc/syntax/calling_methods.rdoc: fix old operator for safe navigation operator. [ci skip][fix GH-1182] Patch by AATTdougo - lib/ostruct.rb (freeze): define deferred accessors before freezing to get rid of an error when just reading frozen OpenStruct. - lib/ostruct.rb: Fix new_ostruct_member to correctly avoid redefinition [#11901] - lib/ostruct.rb (OpenStruct): make respond_to? working on just-allocated objects for workaround of Psych. [ruby-core:72501] [Bug #11884] - vm_eval.c (rb_f_catch): [DOC] fix malformed RDoc syntax, \"+...+\" cannot enclose non-identifier characters. a patch by Sebastian S in [ruby-core:74278]. [Bug#12170] - test/-ext-/float/test_nextafter.rb: In AIX, nextafter(+0.0,-0.0)=+0.0, and nextafter(-0.0,+0.0)=-0.0, but they should return -0.0 and +0.0, respectively. This is a known bug in nextafter(3) on AIX, so skip related tests. - string.c (enc_succ_alnum_char): try to skip an invalid character gap between GREEK CAPITAL RHO and SIGMA. [ruby-core:74478] [Bug #12204] - parse.y (parse_numvar): NTH_REF must be less than a half of INT_MAX, as it is left-shifted to be ORed with back-ref flag. [ruby-core:74444] [Bug#12192] [Fix GH-1296] - enc/trans/JIS: update Unicode\'s notice. [Bug #11844] - marshal.c (r_object0): raise ArgumentError when linking to undefined object. - marshal.c (r_object0): Fix Marshal crash for corrupt extended object. - ext/openssl/ossl_ssl.c (ossl_sslctx_setup): document as MT-unsafe [ruby-core:73803] [Bug #12069] - insns.def (opt_mod): show its method name on ZeroDivisionError. [Bug #12158] - net/ftp.rb: add NullSocket#closed? to fix closing not opened connection. [Fix GH-1232] - variable.c: Added documentation about order of `Module#constants` [ci skip][Bug #12121][ruby-dev:49505][fix GH-1301] - test/ruby/test_process.rb (test_execopts_gid): Skip a test that is known to fail on AIX. AIX allows setgid to a supplementary group, but Ruby does not allow the \"-e\" option when setgid\'ed, so the test does not work as intended. - test/socket/test_addrinfo.rb (test_ipv6_address_predicates): IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are broken on AIX, so skip related tests. - test/rinda/test_rinda.rb (test_make_socket_ipv4_multicast): The fifth argument to getsockopt(2) should be modified to indicate the actual size of the value on return, but not in AIX. This is a know bug. Skip related tests. - test/rinda/test_rinda.rb (test_ring_server_ipv4_multicast): ditto. - test/rinda/test_rinda.rb (test_make_socket_unicast): ditto. - test/socket/test_basicsocket.rb (test_getsockopt): ditto. - test/socket/test_sockopt.rb (test_bool): ditto. - test/zlib/test_zlib.rb (test_adler32_combine, test_crc32_combine): Skip two tests on AIX because zconf.h in zlib does not correctly recognize _LARGE_FILES in AIX. The problem was already reported to zlib, and skip these tests until it is fixed. - thread_pthread.c (getstack): __pi_stacksize returned by pthread_getthrds_np() is wrong on AIX. Use __pi_stackend - __pi_stackaddr instead. - lib/irb.rb: avoid to needless truncation when using back_trace_limit option. [fix GH-1205][ruby-core:72773][Bug [#11969]] - ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb: fix method name typo. [ruby-core:72513] [Bug #11893] The patch provided by Akira Matsuda. - ext/tk/lib/tkextlib/tcllib/toolbar.rb: fix method name typo. [ruby-core:72511] [Bug #11891] The patch provided by Akira Matsuda. - ext/tk/lib/tkextlib/blt/tree.rb: fix method name typo. [ruby-core:72510] [Bug #11890] The patch provided by Akira Matsuda. - ext/tk/lib/tk/menubar.rb: fix a typo in font name. [ruby-core:72505] [Bug #11886] The patch provided by Akira Matsuda. - ext/tk/sample/ *.rb: ditto. - ruby.h: undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P and HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P on C++. [ruby-core:72736] [Bug #11962] - ext/socket/option.c (inspect_tcpi_msec): more accurate condition for TCPI msec member inspection function. [ruby-core:74388] [Bug #12185] - lib/logger.rb: Remove block from Logger.add as it\'s not needed patch provided by Daniel Lobato Garcia [fix GH-1240] [Bug [#12054]] - re.c: Remove deprecated kcode argument from Regexp.new and compile patch provided by Dylan Pulliam [Bug #11495] - ext/socket/socket.c (sock_gethostname): support unlimited size hostname. - lib/xmlrpc/client.rb: Support SSL options in async methods of XMLRPC::Client. [Bug #11489] Reported by Aleksandar Kostadinov. Thanks!!! - marshal.c (r_object0): honor Marshal.load post proc value for TYPE_LINK. by Hiroshi Nakamura https://github.com/ruby/ruby/pull/1204 fix GH-1204 - .travis.yml: removed commented-out code. - .travis.yml: removed osx code. follow up with r53517 - ext/socket/option.c (sockopt_bool): relax boolean size to be one too not only sizeof(int). Winsock getsockopt() returns a single byte as a boolean socket option. [ruby-core:72730] [Bug [#11958]] - ext/socket/option.c (check_size): extract a macro to check binary data size, with a consistent message. - ext/socket/option.c (sockopt_byte): fix error message, sizeof(int) differs from sizeof(unsigned char) in general. - process.c (rb_execarg_parent_start1): need to convert the encoding to ospath\'s one. - process.c: use rb_w32_uchdir() instead of plain chdir() on Windows. reported by naruse via twitter. - process.c (rb_execarg_addopt): need to convert the encoding to ospath\'s one. - ext/stringio/stringio.c (strio_binmode): implement to set encoding - test/stringio/test_stringio.rb (test_binmode): new test [ruby-core:72699] [Bug #11945] - io.c (io_getpartial): remove unused kwarg from template - test/ruby/test_io.rb (test_readpartial_bad_args): new [Bug [#11885]] - compile.c, cont.c, doc, man: fix common misspelling. [ruby-core:72466] [Bug #11870] - parse.y (regexp): set_yylval_num sets u1, should use nd_tag instead of nd_state. [ruby-core:72638] [Bug #11932] - parse.y (set_yylval_num): should be used as nd_state, set to u3. [ruby-core:72638] [Bug #11932] - gc.c (RVALUE_PAGE_WB_UNPROTECTED): fix a typo of argument name. [Fix GH-1221] - Makefile.in (update-rubyspec): fix r53208 like r53451. - lib/uri/generic.rb (URI::Generic#to_s): change encoding to UTF-8 as Ruby 2.2/ by Koichi ITO https://github.com/ruby/ruby/pull/1188 fix GH-1188 - process.c (rb_execarg_parent_start1): need to convert the encoding to ospath\'s one. - process.c: use rb_w32_uchdir() instead of plain chdir() on Windows. reported by naruse via twitter. - process.c (rb_execarg_addopt): need to convert the encoding to ospath\'s one. - include/ruby/missing.h (explicit_bzero_by_memset_s): remove inline implementation by memset_s, which needs a macro before including headers and can cause problems in extension libraries by the order of the macro and headers. * Thu Mar 24 2016 dvaleevAATTsuse.com- 0001-gc.c-tick-for-POWER-arch.patch to improve performance on POWER * Wed Mar 02 2016 adrianAATTsuse.de- fix rubygem provide versions * Sat Dec 26 2015 mrueckertAATTsuse.de- update to 2.3.0 final It introduces many new features for example: A [Frozen String Literal Pragma](https://bugs.ruby-lang.org/issues/11473) is introduced. With Ruby 2.1, `\"str\".freeze` has been optimized to reduce object allocation. Ruby 2.3 introduces a new magic comment and command line option to freeze all string literals in the source files. Additionally for debugging, you can get where the object is created on `\"can\'t modify frozen String\"` error by `--debug=frozen-string-literal` command line option. A [safe navigation operator](https://bugs.ruby-lang.org/issues/11537) ([so-called lonely operator](https://instagram.com/p/-M9l6mRPLR/)) `&.`, which already exists in C#, Groovy, and Swift, is introduced to ease `nil` handling as `obj&.foo`. `Array#dig` and `Hash#dig` are also added. Note that this behaves as [try! of ActiveSupport](http://api.rubyonrails.org/v4.2.5/classes/Object.html#method-i-try-21), which specially handle only nil. The [did_you_mean gem is bundled](https://bugs.ruby-lang.org/issues/11252). The did_you_mean gem shows the candidates on the `NameError` and `NoMethodError` to ease debugging. [RubyVM::InstructionSequence#to_binary and .load_from_binary](https://bugs.ruby-lang.org/issues/11788) are introduced as experimental feature. With these features, we can make a ISeq (bytecode) pre-compilation system. It also includes many performance improvements for example, [reconsider method entry data structure](https://bugs.ruby-lang.org/issues/11278), [introducing new table data structure](https://bugs.ruby-lang.org/issues/11420), [optimize Proc#call](https://bugs.ruby-lang.org/issues/11569), machine code level tuning for object allocation and method calling code, [smarter instance variable data structure](https://bugs.ruby-lang.org/issues/11170), [Socket and I/O allow to use \"exception:\" keywords for high-performance non-blocking I/O](https://bugs.ruby-lang.org/issues/11229) and so on. Check \"Implementation improvements\" section in NEWS file. For a complete list of new features and compatibility notes, please see [NEWS](https://github.com/ruby/ruby/blob/v2_3_0/NEWS) and [ChangeLog](https://github.com/ruby/ruby/blob/v2_3_0/ChangeLog). With those changes, [2946 files changed, 104057 insertions(+), 59478 deletions(-)](https://github.com/ruby/ruby/compare/v2_2_0...v2_3_0) since Ruby 2.2.0! * Sat Dec 12 2015 mrueckertAATTsuse.de- update to preview 2 updated changes and news can be found at: See [NEWS](https://github.com/ruby/ruby/blob/v2_3_0_preview2/NEWS) and [ChangeLog](https://github.com/ruby/ruby/blob/v2_3_0_preview2/ChangeLog) for detail.- refreshed make-gem-build-reproducible.patch to apply cleanly again * Wed Nov 11 2015 mrueckertAATTsuse.de- some files from the system gems were not readable, fixing permissions- add more gem provides * Wed Nov 11 2015 mrueckertAATTsuse.de- update to 2.3.0 Many new features and improvements are included. [Frozen String Literal Pragma](https://bugs.ruby-lang.org/issues/11473) is introduced. On Ruby 2.1, \"str\".freeze is optimized to reduce object allocation. Ruby 2.3 introduces new magic comment and command line option to specify all the string literals in the source files. Additionally for debugging, you can get where the object is created on \"can\'t modify frozen String\" error by - -enable-frozen-string-literal-debug. [Safe navigation operator](https://bugs.ruby-lang.org/issues/11537), which already exists in C#, Groovy, and Swift, is introduced to ease nil handling as `obj&.foo`. Array#dig and Hash#dig are also added. [did_you_mean.gem is bundled](https://bugs.ruby-lang.org/issues/11252). did_you_mean.gem show the candidates on the NameError and NoMethodError to ease debbugging. Try and enjoy programming with Ruby 2.3.0-preview1, and report us your knowledge! [#]# Notable Changes since 2.2 * TBD See [NEWS](https://github.com/ruby/ruby/blob/v2_3_0_preview1/NEWS) and [ChangeLog](https://github.com/ruby/ruby/blob/v2_3_0_preview1/ChangeLog) for detail. With those changes, 1036 files changed, 81312 insertions(+), 51322 deletions(-) since Ruby 2.2.0. * Wed Aug 19 2015 mrueckertAATTsuse.de- update to 2.2.3 (boo# 936032) - update rubygems to 2.4.5.1. this version fixed CVE-2015-3900. - Fix document for Float::MIN and Float::EPSILON. - should match only char boundaries in wide character encodings. [ruby-core:70220] [Bug #11413] - Fixed bad performance in ruby >= 2.2 for Hash with many symbol keys - target encoding name can be empty now. [ruby-core:69841] [Bug #11324] - fix Float hash. rb_dbl_hash() returns a Fixnum, but not a long. [Bug #9381] - raise with messages in UTF-8 encoding. [ruby-core:67386] [Bug #10705] - handle O_TRUNC correctly [ruby-core:69779] [Bug #11319] - FTP close the TCPServer when sending the port fails. - (Net::HTTPResponse::Inflater#finish): fix a bug that empty gzipped response body causes Zlib::BufError. [ruby-core:68846] [Bug #11058] - (Net::HTTPResponse#inflater): fix TypeError. An exception object might be nil. [ruby-core:68846] [Bug #11058] - (module OpenSSL): raise a more helpful exception when verifying the peer connection and an anonymous cipher has been selected. [ruby-core:68330] [Bug #10910] - ruby itself (including numeric.c) is built with strict compile options including -std=iso9899:1999, but ext/date is not. By the way -std=iso9899:1999 is not only a warning option but also changes behavior like MACRO definitions for example INFINITY. [Bug #10906] - Fix LocalJumpErrors being raised in OpenSSL tests. [ruby-core:70020][Bug #11368] - make Timeout::ExitException an alias of Timeout::Error [ruby-dev:49179] [Bug #11344] - (HTTPResponseTest#test_read_body_content_encoding_deflate_uppercase): fix a failure without zlib. - copy the arguments to the machine stack before rewinding the control frame pointer and leaving the arguments outside valid region of the value stack. [ruby-core:69969] [Bug #11352] - CONTENT_ENCODING can be upper case. [ruby-core:69670] [Bug #11285] patched by Andy Chu - copy the arguments to the machine stack before rewinding the control frame pointer and leaving the arguments outside valid region of the value stack. [ruby-core:69969] [Bug #11352] - keep the arguments region inside the valid value stack. [ruby-core:69969] [Bug #11352] - reversed string is not a substring, and should not set coderange of the original string. [ruby-dev:49189] [Bug #11387] - pop cmdarg stack for lookahead token. [ruby-core:70067] [Bug [#11380]] - Support %s.%N. [ruby-core:68301] [Bug #10904] - fix transcoder loading race condition, by waiting in require. [ruby-dev:49106] [Bug #11277] - check if array size will exceed maximum size to get rid of buffer overflow. [ruby-dev:49043] [Bug #11235] - try opening file without gvl not to lock entire process. [Bug [#11060]] - split --libs if --libs-only-l option is not available. patch in [ruby-core:69428] by Hans Mackowiak. [ruby-core:69421] [Bug #11201] - out of range NTH_REF is always nil. - check overflow of NTH_REF and range. [ruby-core:69393] [Bug #11192] - make public and add length parameter. - resolve refined method entry to check if undefined. [ruby-core:69064] [Bug #11117] - undefined refined method is not callable unless using. [ruby-core:69064] [Bug #11117] - Fix require paths for released gem. [fix GH-929] Patch by AATTvoxik - Return empty JSON object when passed object is a special const, instead of SEGV. Based patch by Kohei Suzuki (eagletmt). [ruby-core:69692] [Bug #11291] - relax pattern because long_lived flag and marked flag can be false at major GC. [Bug #10852] - use RB_GC_GUARD instead of volatile [ruby-core:69419] [Feature [#11198]] - ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode, ossl_asn1_decode_all): use RB_GC_GUARD instead of volatile [ruby-core:69371] [Bug #11185] - seek to the file end only when writing (mode:a), not reading (mode:a+, read). - stop returning false negatives for filenames which are trailing substrings of file extensions. For example, \'b\', which a trailing substring of \".rb\" should not return false. [Bug [#11155]][ruby-core:69206] - register symbol names as strings first so that r_symlink always returns valid names. [ruby-core:68587] [Bug #10991] - bsock_recmvsg_internal needs GC guard for control buffer [Bug [#11123]] - test if covered for linear objects. [ruby-core:69052] [Bug #11113] - should work even if body-fld-dsp is omitted. [ruby-core:69093] [Bug [#11128]] - added documentation for character sequence \\\' with String#sub [Bug [#11132]][ruby-core:69121][fix GH-900][ci skip] Patch by AATTshishir127 - Added documentation for rational literal. [Bug #11075][fix GH-885][ci skip] Patch by AATTshishir127 - preserve errno before other library calls and use rb_syserr_fail. [ruby-core:68531] [Bug #10975] - check other events when RETURN is thrown. [Bug #10724] - fix memory leak of addrinfo. [ruby-dev:48923] [Bug #11051] - try magic number only if f_type is included. [ruby-dev:48913] [Bug [#11000]] - return filesystem name by statfs/statvfs. [ruby-core:68624] [Bug [#10998]] - Symbols are compared by the identities always. [ruby-core:68767] [Bug #11035] - use same hash values with Float#hash so that -0.0 and +0.0 will be identical. [ruby-core:68541] [Bug #10979] - prohibit from accessing internal objects. [ruby-core:68348] [Bug [#10918]] [ruby-core:58539] [Bug #9144] - search the target to break from a block with nested rescue, from the nested blocks. [ruby-core:67765] [Bug #10775] [Fix GH-820] - protect value stack from calling other methods during complex parameter setting process (splat, kw, and so on). [Bug #11027] - allow symbols to just instance_eval/exec, except for definition of singletons. [ruby-core:68961] [Bug #11086] - clear NOFREE flag at embedding as embedded strings no longer refer static strings. [ruby-core:68436] [Bug #10942] - use getattrlist() if fgetattrlist() is unavailable, on OSX 10.5. [ruby-core:68829] [Bug #11054] - replicate env from method object, and allocate the local variable area for the iseq local table. [ruby-core:68673] [Bug #11012] - make more realistic data. [ruby-core:68632] [[Bug #10999] - check if the receiver responds to the given method by respond_to_missing?. - create Method object for method_missing. [ruby-core:68564] [Bug [#10985]] - need to check the return value of GLOB_REALLOC(). - shouldn\'t create Ruby object before the object system is loaded. [ruby-core:68430] [Bug #10941] - Check class equality. (Resolv::DNS::Name#initialize): Normalize labels as Resolv::DNS::Label::Str objects. - check source type, must be an IO or a String. [ruby-core:69219] [Bug #11159] - make dsym_fstrs a hash compared by identity as the keys are unique fstrings, to get rid of running hash and compare methods and causing new object allocation during garbage collection phase. [ruby-dev:48891] [Bug #10933] - push and reset cmdarg_stack in lambda body. [ruby-core:69017] [Bug [#11107]] - 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. - show the exact target path in the error message instead of the destination parent directory name. [ruby-core:68706]. [Bug #11021] - keep sp safe zone to get rid of crash by -fstack-check. [ruby-core:68740] [Bug #11030] - check also procstat_getvmmap, which is not available on FreeBSD 9. [ruby-core:68468] [Bug #10954] - use kinfo_getvmmap instead if procstat_getvmmap is not available. * Fri Jun 19 2015 adrianAATTsuse.de- fix provided rake and rdoc version- remove generic rubygem-rake provides * Thu Apr 16 2015 mrueckertAATTsuse.de- update to 2.2.2 (bsc# 926974) - stricter hostname verification following RFC 6125. with the patch provided by Tony Arcieri and Hiroshi Nakamura [ruby-core:61545] [Bug #9644] CVE-2015-1855 - fix segfault by null caused by syntax error. [ruby-core:68851] [Bug #10957] - parse.y (primary): empty parentheses at cmdarg can be null. [ruby-core:68477] [Bug #10957] - ext/io/wait/wait.c (io_nread): wrap return value with INT2FIX Thanks to Yura Sokolov [ruby-core:68369] [Bug#10923] - test/io/wait/test_io_wait.rb (test_nread_buffered): fix broken test - vm_eval.c (vm_call_super): search next super class from the original class, to get rid of infinite recursion with prepending. a patch by Seiei Higa at [ruby-core:68434]. [ruby-core:68093] [Bug #10847] - class.c (rb_prepend_module): need a WB for klass -> origin. - ext/fiddle/extconf.rb: needs --enable-shared when linked to libruby or fiddle.so. since --with-static-linked-ext does no longer link extensions to ruby program with --enable-shared, the only combination needs --enable-static is --disable-shared and --with-static-linked-ext. [ruby-dev:48901] [Bug #10960] - ext/fiddle/extconf.rb: make PIC objects if it will be linked as a shared object eventually. [ruby-core:67128] - spec/default.mspec: use default configuration file name. https://github.com/ruby/rubyspec/commit/cc69f337b06362e5607ffa3e3ad40ef7494960cf - spec/default.mspec: remove specific version number. https://github.com/ruby/rubyspec/commit/7a909e925c1baa9c700bd44af9241aef6e596714 - common.mk: use ruby organization for rubyspec. For all the changes see /usr/share/doc/packages/ruby2.2/ChangeLog * Wed Mar 11 2015 mrueckertAATTsuse.de- while merging the changes with the 2.1 package i noticed 2 problems: - we still rewrote the she bang lines to ruby 2.1. - the macro files weren\'t marked as config. * Wed Mar 11 2015 mrueckertAATTsuse.de- Remove the support to have the shared files from ruby-common intree again. * Wed Mar 11 2015 mrueckertAATTsuse.de- update to 2.2.1 This release includes the fix for ffi build failure and memory leak issue on Symbol GC (See Bug #10686). For more details see /usr/share/doc/packages/ruby2.2/ChangeLog- match the version number in the rubygems provides to what is actually shipped with ruby 2.2 * Wed Feb 11 2015 cooloAATTsuse.com- port make-gem-build-reproducible.patch from ruby 2.1 * Mon Feb 09 2015 cooloAATTsuse.com- remove upstreamed drop_content_size_check_in_xmlrpc.patch- add unapplied patches as sources for now to pass source validator, we might have use for them later * Thu Dec 25 2014 mrueckertAATTsuse.de- tk seems to work now with newer tk versions- convert the conditional for tk to bcond_with(out)- buildrequire tk-devel only if we want to build with tk. otherwise we get tk built and packaged even if we dont expect it. this leads to the rubyX.y-stdlib pulling tk. * Thu Dec 25 2014 mrueckertAATTsuse.de- sync spec file with 2.1 branch * Thu Dec 25 2014 mrueckertAATTsuse.de- update to 2.2.0 final: - Notable Changes since 2.1 - Incremental GC (YARV Maniacs No.12) - Symbol GC (presentation at RubyKaigi 2014) - configure –with-jemalloc Feature #9113 - core libraries: - Support Unicode 7.0 #9092 - New methods: - Enumerable#slice_after #9071, Enumerable#slice_when #9826 - Float#next_float, Float#prev_float #9834 - File.birthtime, File#birthtime #9647 - String#unicode_normalize #10084 - bundled libraries: - Update Psych 2.0.8 - Update Rake 10.4.2 - Update RDoc 4.2.0 - Update RubyGems 2.4.5 - Update test-unit 3.0.8 (removed from repository but bundled in tarball) - Update minitest 5.4.3 (removed from repository but bundled in tarball) - Deprecate mathn - C API - Remove deprecated APIs See https://github.com/ruby/ruby/blob/v2_2_0/NEWS for details. With those changes, 1557 files changed, 125039 insertions(+), 74376 deletions(-) from v2.1.0! * Wed Sep 24 2014 mrueckertAATTsuse.de- also make the ghost files match what we generate in the rubygem based packages * Wed Sep 24 2014 mrueckertAATTsuse.de- also provide the %{_bindir}/$bin%{rb_binary_suffix} symlinks via u-a to be consistent with what gem based packages do. * Mon Sep 22 2014 mrueckertAATTsuse.de- update to ruby-2.2.0-r47678- drop buildroot patches! finally all upstream: ruby2.2.x_rbinstall_gem_buildroot.patch rubygems-1.5.0_buildroot.patch * Mon Sep 22 2014 mrueckertAATTsuse.de- instead of touch for the files in /etc/alternatives. use the symlink pointing to itself. * Fri Sep 19 2014 mrueckertAATTsuse.de- conflict with our own ruby abi * Wed Sep 17 2014 mrueckertAATTsuse.de- only provide the rdoc and ri symlink on newer than sle11 * Wed Sep 17 2014 mrueckertAATTsuse.de- BR: xz * Mon Sep 15 2014 mrueckertAATTsuse.de- the ruby(abi) = $interpreter:$abiversion was not a good idea. rpm treats the $interpreter part as epoch. instead we use now: $interpreter(abi) = $abiversion For MRI it means we are basically back to ruby(abi). Examples for alternative ruby interpreters are rubinius(abi) and jruby(abi) (bnc#896658) * Wed Sep 03 2014 mrueckertAATTsuse.de- also in the awk generated provides we should add the intererpreter part to the provides. also remove the old package name based provides there. * Wed Sep 03 2014 mrueckertAATTsuse.de- fix typo in macro * Wed Sep 03 2014 mrueckertAATTsuse.de- update the ruby abi part in the macros * Wed Sep 03 2014 mrueckertAATTsuse.de- use the new ruby abi syntax * Wed Jul 16 2014 mrueckertAATTsuse.de- added ruby2.2.macros: ruby 2.2 specific macros for the macro based expansion- added ruby2.2-default.macros: if ruby 2.2 is default this file will be installed and sets the rb_default * variables and rb_build_versions accordingly.- no longer conflict with the other versioned ruby packages * Tue Jul 15 2014 mrueckertAATTsuse.de- now we can configure the default ruby version in the project config. if the package\'s rb_soname matches the rb_default_ruby_suffix, the package is default and we create the hardlinks for the important binaries and the libruby.so symlink. * Tue Jul 15 2014 mrueckertAATTsuse.de- require ruby-common already in the main package, not every package we build requires ruby-devel- update the rubygems provides to the actual version * Wed Jun 25 2014 mrueckertAATTsuse.de- added ruby2.2.x_rbinstall_gem_buildroot.patch: we need to pass the destdir to the Gem.install call inside the ruby build process * Wed Jun 25 2014 mrueckertAATTsuse.de- first snapshot of 2.2 * Wed Jun 18 2014 mrueckertAATTsuse.de- %ix86 architectures are x86 for rubygems * Wed Jun 18 2014 mrueckertAATTsuse.de- also package the extensions documentation dir * Wed Jun 18 2014 mrueckertAATTsuse.de- no longer share the rb_binary_suffix between the library usage and the binary usage. for the library usage we have now rb_soname.- change rb_binary_suffix to .ruby2.1 * Wed Jun 18 2014 mrueckertAATTsuse.de- also provide libruby.so again: too much broken code relies on the existence of it * Wed Jun 18 2014 mrueckertAATTsuse.de- also package the extensions dir so we have an owner * Tue Jun 17 2014 mrueckertAATTsuse.de- no longer provide the ruby macros * Sun Jun 15 2014 mrueckertAATTsuse.de- remove ruby19-export_init_prelude.patch * Sun Jun 15 2014 mrueckertAATTsuse.de- dont build ruby-common in here anymore * Fri May 16 2014 kkaempfAATTsuse.com- Update to 2.1.2 - fix for a regression of Hash#reject in Ruby 2.1.1 - support for build with Readline-6.3 (see Bug #9578) - updated bundled version of libyaml with psych - some bug fixes. * Sun Mar 02 2014 kkaempfAATTsuse.com- make api_version explicit in spec- adapt versions of embedded gems * Fri Feb 28 2014 adrianAATTsuse.de- use api version 2.1.0 again to avoid dependency breakages * Fri Feb 28 2014 kkaempfAATTsuse.com- Update to 2.1.1 Speedup and bugfixes (upstream bug ids): - rubygems 2.2.2 (#9489) - fix segfault at unpacking modified String (#9478) - Struct#send(:setter=, rhs) does not return rhs (#9470) - Array#uniq behavior change (#9470) - Timeout behavior change (#9470) - Hash lookup with #hash and #eql broken (#9470) - bigdecimal division issue (#9470) - SizedQueue not working (#9470) - BidDecimal division (#9316) - fix \'gem install --ignore-dependencies\' for remote gems (#9282) - Array#to_h should not ignore badly formed elements (#9270) - Method#arity for keyword arguments (#8072) * Sat Feb 15 2014 kkaempfAATTsuse.com- add internal.h to ruby-devel-extra * Mon Feb 10 2014 kkaempfAATTsuse.com- Don\'t require rpm-with-ruby-provide-hook on SLE11. It\'s not a runtime requirement but a build-time requirement for rubygems in SLE11. Buildservice will take care of that. * Fri Feb 07 2014 cooloAATTsuse.com- reintroduce update-alternatives for rake, rdoc and ri as those can come from more uptodate gems * Sat Feb 01 2014 cooloAATTsuse.com- readd old macros - for now at least * Fri Jan 31 2014 kkaempfAATTsuse.com- generate provides for embedded rubygems * Thu Jan 30 2014 kkaempfAATTsuse.com- merged ruby-common * Sun Jan 19 2014 kkaempfAATTsuse.com- new package split - only single Ruby version installable ruby - binary libruby2_1-2_0 - ruby runtime library ruby-stdlib - ruby standard library ruby-doc - ruby documentation ruby-devel - ruby development * Sun Jan 19 2014 kkaempfAATTsuse.com- revert the ruby split (ruby - ruby21) rename ruby21 to ruby, integrate \'ruby\' and \'ruby-common\' * Thu Jan 09 2014 jreidingerAATTsuse.com- remove part of rubygems1.5 patch that modify mkmf which is already fixed upstream * Wed Jan 08 2014 kkaempfAATTsuse.com- fix rb_arch in spec: append -gnu- fix native gem builds: create gem native extensions dir * Mon Jan 06 2014 cooloAATTsuse.com- initial version for ruby 2.1.0 - changes to Ruby 2.0: VM (method cache) RGenGC (See ko1’s RubyKaigi presentation and RubyConf 2013 presentation) refinements #8481 #8571 syntax changes Rational/Complex Literal #8430 def’s return value #3753 Bignum use GMP #8796 String#scrub #8414 Socket.getifaddrs #8368 RDoc 4.1.0 and RubyGems 2.2.0 “literal”.freeze is now optimized #9042 add Exception#cause #8257 update libraries like BigDecimal, JSON, NKF, Rake, RubyGems, and RDoc remove curses #8584- initial patches: drop_content_size_check_in_xmlrpc.patch ruby-1.9.2p290_tcl_no_stupid_rpaths.patch ruby19-export_init_prelude.patch rubygems-1.5.0_buildroot.patch
|
|
|