summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* Process parse.y without temporary filesNobuyoshi Nakada2023-05-151-1/+1
|
* Add user argument to some macros used by bisonNobuyoshi Nakada2023-05-141-4/+1
|
* Preprocess input parse.y from stdinNobuyoshi Nakada2023-05-142-19/+26
|
* Use Lrama LALR parser generator instead of Bisonv3_3_0_preview1Yuichiro Kaneko2023-05-122-5/+7
| | | | | https://bugs.ruby-lang.org/issues/19637 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Extract ext/readlineHiroshi SHIBATA2023-05-098-2867/+0
|
* [ruby/stringio] Drop support for ruby 2.6 or earlierNobuyoshi Nakada2023-05-083-83/+1
| | | | | | (https://github.com/ruby/stringio/pull/47) `rb_io_extract_modeenc` has been exported since ruby 2.7.
* Redirect to `IO::NULL` for the portabilityNobuyoshi Nakada2023-05-051-1/+1
|
* [ruby/stringio] Update write-barrier at copyingNobuyoshi Nakada2023-05-031-3/+7
| | | | | | | | | | | http://ci.rvm.jp/results/trunk-asserts@ruby-sp2-docker/4552803 ``` verify_internal_consistency_reachable_i: WB miss (O->Y) 0x00007f752ddd5550 [3LM ] strio (StringIO)strio -> 0x00007f752d19b7d0 [0 ] T_STRING (String) len: 8, capa: 15 "to_strio" <internal:/tmp/ruby/src/trunk-asserts/lib/rubygems/core_ext/kernel_require.rb>:53: [BUG] gc_verify_internal_consistency: found internal inconsistency. ``` https://github.com/ruby/stringio/commit/2e8ab43cba
* [ruby/syslog] Improve the version extractionAkinori MUSHA2023-04-251-9/+3
| | | | https://github.com/ruby/syslog/commit/34da65a002
* [ruby/syslog] Raise required_ruby_versionAkinori MUSHA2023-04-251-1/+1
| | | | https://github.com/ruby/syslog/commit/5289373016
* [ruby/syslog] Expose Syslog::VERSIONHiroshi SHIBATA2023-04-252-1/+16
| | | | https://github.com/ruby/syslog/commit/ff5d72fcb9
* [ruby/win32ole] Reuse WIN32OLE_VERSION for gem versionHiroshi SHIBATA2023-04-212-2/+12
| | | | https://github.com/ruby/win32ole/commit/bff3ea8b0b
* [ruby/fcntl] Expose Fcntl::VERSIONHiroshi SHIBATA2023-04-212-1/+17
| | | | https://github.com/ruby/fcntl/commit/cb8e414e9f
* [ruby/stringio] Development of 3.0.7 started.Sutou Kouhei2023-04-141-1/+1
| | | | https://github.com/ruby/stringio/commit/5d39880f70
* [ruby/readline-ext] Expose Readline::GEM_VERSIONHiroshi SHIBATA2023-04-142-1/+15
| | | | https://github.com/ruby/readline-ext/commit/70aa84b80e
* [ruby/nkf] Expose NKF::GEM_VERSIONHiroshi SHIBATA2023-04-142-1/+14
| | | | https://github.com/ruby/nkf/commit/0d0fb3a162
* [ruby/pathname] Expose Pathname::VERSIONHiroshi SHIBATA2023-04-142-2/+11
| | | | https://github.com/ruby/pathname/commit/2b0b1a82ee
* [ruby/bigdecimal] fix: typo in document comments of `f_BigDecimal` functionHoNooD2023-04-081-1/+1
| | | | https://github.com/ruby/bigdecimal/commit/13abe1fd78
* [ruby/bigdecimal] Remove set but unused variableNobuyoshi Nakada2023-04-081-7/+0
| | | | | | This `prec` has not been used since https://github.com/ruby/bigdecimal/commit/1f5c46dbdd1c. https://github.com/ruby/bigdecimal/commit/08a0ad563d
* [Bug#19161] Detect thread local storage specifierNobuyoshi Nakada2023-04-071-7/+2
| | | | | | Checking by `__STDC_VERSION__` is unreliable because old gcc 4.8 supports `-std=gnu11` option but does not implement `_Thread_local`. Check the implementation directly instead.
* [ruby/openssl] Register global variables before assignmentNobuyoshi Nakada2023-04-071-2/+2
| | | | https://github.com/ruby/openssl/commit/98099d3796
* Update VPATH for socket, & dependenciesMatt Valentine-House2023-04-064-0/+288
| | | | | | | | | | | | | | | | | | The socket extensions rubysocket.h pulls in the "private" include/gc.h, which now depends on vm_core.h. vm_core.h pulls in id.h when tool/update-deps generates the dependencies for the makefiles, it generates the line for id.h to be based on VPATH, which is configured in the extconf.rb for each of the extensions. By default VPATH does not include the actual source directory of the current Ruby so the dependency fails to resolve and linking fails. We need to append the topdir and top_srcdir to VPATH to have the dependancy picked up correctly (and I believe we need both of these to cope with in-tree and out-of-tree builds). I copied this from the approach taken in https://github.com/ruby/ruby/blob/master/ext/objspace/extconf.rb#L3
* [Feature #19579] Remove !USE_RVARGC code (#7655)Peter Zhu2023-04-041-9/+0
| | | | | | | | | | | Remove !USE_RVARGC code [Feature #19579] The Variable Width Allocation feature was turned on by default in Ruby 3.2. Since then, we haven't received bug reports or backports to the non-Variable Width Allocation code paths, so we assume that nobody is using it. We also don't plan on maintaining the non-Variable Width Allocation code, so we are going to remove it.
* [ruby/pathname] Remove taint/untaint methods because they should be removed ↵Hiroshi SHIBATA2023-03-271-28/+0
| | | | | | | | since Ruby 3.2 released. Fixes https://github.com/ruby/pathname/pull/28 https://github.com/ruby/pathname/commit/c52fd3a835
* MSWin: Use MESSAGE_BEGIN/MESSAGE_END instead of bare `echo`Nobuyoshi Nakada2023-03-021-4/+13
| | | | To strip enclosing double quotes.
* Update the depend filesMatt Valentine-House2023-02-2893-209/+0
|
* [ruby/stringio] Implement write barrier on StringIOJean Boussier2023-02-281-4/+5
| | | | | | | It only has a single reference set in 3 places which makes it fairly easy to implement. https://github.com/ruby/stringio/commit/009896b973
* Remove intern/gc.h from Make depsMatt Valentine-House2023-02-2793-209/+0
|
* Prefer to use File.foreach instead of IO.foreachHiroshi SHIBATA2023-02-271-1/+1
|
* Prefer to use File.binwrite instead of IO.binwriteHiroshi SHIBATA2023-02-271-2/+2
|
* Prefer to use File.binread instead of IO.binreadHiroshi SHIBATA2023-02-271-2/+2
|
* [ruby/stringio] Remove (newly unneeded) remarks about aliasesBurdetteLamar2023-02-251-6/+0
| | | | https://github.com/ruby/stringio/commit/60bb320477
* [ruby/bigdecimal] Bump up to 3.1.4Nobuyoshi Nakada2023-02-211-1/+1
| | | | | | | | | | ruby/bigdecimal#187 has changed a behavior and ruby/spec also needed a follow up at https://github.com/ruby/ruby/commit/0d8ef62fc293. However, because bigdecimal is a separate gem and can be updated in older versions of ruby, `RUBY_VERSION` is not appropriate for this guard. That means it needs bumped up `BigDecimal::VERSION`. https://github.com/ruby/bigdecimal/commit/3a2a7a9353
* [ruby/bigdecimal] Move RB_GC_GUARD() at the end, like in BigMath_s_exp()Benoit Daloze2023-02-211-6/+7
| | | | https://github.com/ruby/bigdecimal/commit/b66ef9fbb5
* [ruby/bigdecimal] Avoid RB_GC_GUARD(a) = b in bigdecimalBenoit Daloze2023-02-211-6/+12
| | | | | | | | * This is not supported on TruffleRuby, which requires the value to be set before RB_GC_GUARD() is called. * See https://github.com/oracle/truffleruby/pull/2879 https://github.com/ruby/bigdecimal/commit/7b2957922f
* [ruby/openssl] Stub gemspec for JRubyCharles Oliver Nutter2023-02-211-3/+9
| | | | | | | | | | | | | JRuby has its own implementation of the `openssl` library in jruby-openssl. The simplest way for us to allow users to set openssl as a gem dependency is to ship a stub gem that just depends on jruby-openssl. This patch adds that to the gemspec. Additional work may be required to fit this stub gem into the test and release process. See #20 for more details. https://github.com/ruby/openssl/commit/74ccaa5e18
* [ruby/strscan] Bump versionSutou Kouhei2023-02-211-1/+1
| | | | https://github.com/ruby/strscan/commit/681cde0f27
* [ruby/strscan] Mention return value of `rest?` in the docOKURA Masafumi2023-02-211-2/+3
| | | | | | | (https://github.com/ruby/strscan/pull/49) The doc of `rest?` was unclear about return value. This commit adds the return value to the doc.
* [ruby/bigdecimal] Read version from bigdecimal.cNobuyoshi Nakada2023-02-214-32/+15
| | | | | | | | | The dependency of extconf.h on bigdecimal.gemspec does not make sense as far as no rule is defined for it. Also, the relationship between extension library and gemspec file is various in default gems, and does not work well. https://github.com/ruby/bigdecimal/commit/7f99b28552
* [ruby/date] Removed (newly unneeded) alias remarksBurdette Lamar2023-02-191-19/+0
| | | | | | (https://github.com/ruby/date/pull/88) https://github.com/ruby/date/commit/cfa7e9868b
* [DOC] Improve ObjectSpace#dump_XXX method docszverok2023-02-191-21/+14
| | | | | | * remove false call-seq (output from Ruby parsing is cleaner) * explain output: argument in plain words * change parameter name in docs of #dump_shapes (typo)
* [ruby/bigdecimal] Fix the license name [ci skip]Nobuyoshi Nakada2023-02-191-1/+1
| | | | | | | | | | | | ``` $ gem build bigdecimal.gemspec WARNING: license value 'BSD-2-clause' is invalid. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. Did you mean 'BSD-2-Clause'? WARNING: See https://guides.rubygems.org/specification-reference/ for help ``` https://github.com/ruby/bigdecimal/commit/36b77a2d2f
* [ruby/bigdecimal] Stub out extension build on JRubyCharles Oliver Nutter2023-02-172-10/+20
| | | | | | | | | | | | | | | | JRuby currently ships its own internal bigdecimal extension as part of the core libraries. In order for users to be able to add bigdecimal to their Gemfile or gem dependencies, we need to stub out the C extension and just load the extension shipped with JRuby. In the future we will try to move our BigDecimal implementation into the gem, but for now this is the simplest way to make it installable on JRuby. See #169 https://github.com/ruby/bigdecimal/commit/829956c643
* [ruby/bigdecimal] Handle correctly #remainder with infinity. FixesMaciej Rzasa2023-02-171-0/+7
| | | | | | https://github.com/ruby/bigdecimal/pull/187 https://github.com/ruby/bigdecimal/commit/4b8572d452
* Encapsulate RCLASS_ATTACHED_OBJECTJean Boussier2023-02-151-0/+2
| | | | | | | | | Right now the attached object is stored as an instance variable and all the call sites that either get or set it have to know how it's stored. It's preferable to hide this implementation detail behind accessors so that it is easier to change how it's stored.
* Merge gc.h and internal/gc.hMatt Valentine-House2023-02-096-8/+8
| | | | [Feature #19425]
* Extract include/ruby/internal/attr/packed_struct.hNobuyoshi Nakada2023-02-0893-0/+209
| | | | | | | | | Split `PACKED_STRUCT` and `PACKED_STRUCT_UNALIGNED` macros into the macros bellow: * `RBIMPL_ATTR_PACKED_STRUCT_BEGIN` * `RBIMPL_ATTR_PACKED_STRUCT_END` * `RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_BEGIN` * `RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_END`
* [ruby/psych] Bump version to 5.1 for releaseCharles Oliver Nutter2023-02-071-1/+1
| | | | | | | | | This version primarily updates the JRuby extension to use SnakeYAML Engine, a newer version of the SnakeYAML library, which also updates YAML support to 1.2. The JRuby extension now also exposes settings for the parser. https://github.com/ruby/psych/commit/6f2b16b343
* [ruby/stringio] Development of 3.0.6 started.Nobuyoshi Nakada2023-02-031-1/+1
| | | | https://github.com/ruby/stringio/commit/a7561f447b
* [ruby/stringio] Revert "bump up to 3.0.6" [ci skip]Nobuyoshi Nakada2023-02-021-1/+1
| | | | | | | This reverts commit https://github.com/ruby/stringio/commit/325933500b35. It is bumped to 3.0.5 in advance but not released yet. https://github.com/ruby/stringio/commit/af67c36693